texttest -a complex -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clang3_64D.31Aug050550.4041459 -g
texttest -a complex -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ---------- 108c108,150 < Wrong error code returned (0)! --- > > ================================================================= > ==3091409==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 0xab40fe in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab173f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a51453 in GenericSAXHandler::startElement(char16_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 0x7fba7faad5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<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 0xabac36 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1826 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a51453 in GenericSAXHandler::startElement(char16_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 0x7fba7faad5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<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 0xabb728 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)! --- > > ================================================================= > ==3091001==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 0xab40fe in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab173f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a51453 in GenericSAXHandler::startElement(char16_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 0x7f13fb8b75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<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 0xabac36 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1826 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a51453 in GenericSAXHandler::startElement(char16_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 0x7f13fb8b75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<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 0xabb728 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 > > ================================================================= > ==3082596==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1860132 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 0x18574ff 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 0x1798ab3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ddc7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f51363775ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3082641==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1860132 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 0x18574ff 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 0x1798ab3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ddc7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f380f2e65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3091286==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1860132 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 0x18574ff 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 0x1798ab3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ddc7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7fb472d0b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3091357==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1860132 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 0x18574ff 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 0x1798ab3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ddc7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f38d32af5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3106090==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 0x7fc9209f6082 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 0x7fc920e6ed03 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 > > ================================================================= > ==3106022==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 0x7f2cda3d0082 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 0x7f2cda848d03 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 > > ================================================================= > ==3106085==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 0x7f2dbc847082 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 0x7f2dbccbfd03 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 > > ================================================================= > ==3106087==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 0x7f063c140082 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 0x7f063c5b8d03 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 0x7f063cbad5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<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 > > ================================================================= > ==3105882==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 0x7f92034a5082 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 0x7f920391dd03 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 > > ================================================================= > ==3105893==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 0x7fd8ca873082 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 0x7fd8cacebd03 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 > > ================================================================= > ==3105917==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 0x7f4968870082 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 0x7f4968ce8d03 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 > > ================================================================= > ==3105928==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 0x7f5d24422082 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 0x7f5d2489ad03 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 > > ================================================================= > ==3105914==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 0x7fd0647d8082 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 0x7fd064c50d03 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 > > ================================================================= > ==3105971==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 0x7fcfb58ca082 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 0x7fcfb5d42d03 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 > > ================================================================= > ==3105960==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 0x7fc0f5989082 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 0x7fc0f5e01d03 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 > > ================================================================= > ==3105964==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 0x7fa3f7059082 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 0x7fa3f74d1d03 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 > > ================================================================= > ==3106005==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 0x7ff2808a9082 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 0x7ff280d21d03 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 > > ================================================================= > ==3106014==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 0x7fd7059d7082 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 0x7fd705e4fd03 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/tmpv0prk6_8/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/tmp9d66ea_i/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/tmpr_j6b7lg/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/tmp9hpcsotd/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 > > ================================================================= > ==3103462==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 0x8572af 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 0x1a52d7a in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:156:13 > #3 0x7f4885c89f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x7f488599f6a8 (/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 0x7f488599edbd 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 0x7f4885819867 (/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 0x7f488582003b (/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 > > ================================================================= > ==3103308==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f648bb09082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f648bb09082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1,3c1,2176 < .....WARNING: No typeSubstring given. Managing all vehicles. (PlatoonManager) < .WARNING: No typeSubstring given. Managing all vehicles. (PlatoonManager) < .. --- > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3103243==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f97b004e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3103247==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f175142a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f175142a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3103334==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb246fbb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb246fbb082 in __libc_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 > > ================================================================= > ==3103259==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe4e0748082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3103242==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0a3a24d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0a3a24d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==3104937==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f1027e755ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3104954==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7fe74f0795ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3105027==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7faef0e125ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3105041==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f123bf635ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3105031==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc105bc85ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3105051==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f9e9038b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104938==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3696fed5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3104953==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f2112e645ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104961==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbcbb4885ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3105020==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7fd87a20c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3105056==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2bfd7145ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3105076==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7efcbe8625ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104790==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc4724765ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3104804==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f234f18d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104856==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f45e81a45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3104869==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7ff4487925ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104825==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa6c6ee35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3104832==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f3c469605ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104896==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa76593b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3104906==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f2a4d05e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104892==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff94fbec5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3104904==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f5be8dee5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3093996==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb7b6120082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb7b6120082 in __libc_start_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 > > ================================================================= > ==3093942==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f082f903082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3093116==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f57c0e3b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f57c0e3b082 in __libc_start_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 > > ================================================================= > ==3093503==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5988498f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,359 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3093777==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f49a5d97f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,359 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3093857==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc3fee3df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3093041==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0332dfd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3092621==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f40f1a59082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3092911==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9047fd7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3093212==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc3ae56a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc3ae56a082 in __libc_start_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 > > ================================================================= > ==3093208==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb977c4e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb977c4e082 in __libc_start_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 > > ================================================================= > ==3093362==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f99d5b45082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3092435==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f73a4a09082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3093762==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb35a9b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3092443==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe3fb34a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3092154==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0771b78082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0771b78082 in __libc_start_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 > > ================================================================= > ==3092745==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4833464082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4833464082 in __libc_start_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 > > ================================================================= > ==3092816==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f34a6b71082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3093382==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f68b1dd6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > ================================================================= > ==3092041==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000120a12b bp 0x7ffcce139c50 sp 0x7ffcce139c48 > WRITE of size 8 at 0x60b0000484a0 thread T0 5a9,12 > #0 0x120a12a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x120923f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x120c533 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==3092046==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000120a12b bp 0x7ffc64710190 sp 0x7ffc64710188 > WRITE of size 8 at 0x60b0000484a0 thread T0
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==3092217==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000120a12b bp 0x7fffa4ab0d10 sp 0x7fffa4ab0d08 > WRITE of size 8 at 0x60b0000484a0 thread T0 5a9,12 > #0 0x120a12a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x120923f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x120c533 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==3092207==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000120a12b bp 0x7fff924bf4d0 sp 0x7fff924bf4c8 > WRITE of size 8 at 0x60b0000484a0 thread T0 5a9,12 > #0 0x120a12a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x120923f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x120c533 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 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 > > ================================================================= > ==3091282==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f74d0d8af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,359 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3091363==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb04a497f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3090579==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f51c8469082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3090741==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe8657ae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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' > 1e 00 80 56 d0 53 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 1e 00 80 56 d0 53 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 1e 00 80 56 d0 53 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has invalid vptr > 37 00 80 72 37 00 00 40 00 00 00 00 00 00 00 00 be be be be 00 df 18 00 30 60 00 00 20 df 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-08-18 05:06:56 by Eclipse SUMO sumo Version v1_14_1+0383-74a0f6ba0c0 > <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 > > ================================================================= > ==3090869==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb2e5ed4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3091708==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9d5546b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3091398==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcb8140b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3091544==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8a97a6f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,121 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21: runtime error: member call on address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 2f 00 00 59 d0 53 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 2f 00 00 59 d0 53 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 2f 00 00 59 d0 53 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has invalid vptr > 2f 00 00 32 29 00 80 17 00 00 00 00 00 00 00 00 be be be be 30 df 18 00 30 60 00 00 50 df 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-08-18 05:07:28 by Eclipse SUMO sumo Version v1_14_1+0383-74a0f6ba0c0 > <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 > > ================================================================= > ==3091809==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f62076eb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f62076eb082 in __libc_start_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 > > ================================================================= > ==3091844==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa2da3c2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa2da3c2082 in __libc_start_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 > > ================================================================= > ==3092002==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb9207c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3092397==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7b57f10082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3092323==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2dc6a79082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3093354==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcb3e0f2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 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 > > ================================================================= > ==3090158==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x2464305 in MSEmissionExport::write(OutputDevice&, long long, int) /home/delphi/clangDebug/sumo/src/microsim/output/MSEmissionExport.cpp:64:26 > #3 0x589cc4 in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:910:9 > #4 0x56e08c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #5 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #6 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #7 0x7f4d8c6fe082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 0x2c38435 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf8844a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #11 0xe7cbd2 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 > > ================================================================= > ==3090132==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f448694e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f448694e082 in __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 ---------- 10c10 < Statistics (avg): --- > Statistics (avg of 4000): 29c29 < Statistics (avg): --- > Statistics (avg of 4000): 48c48 < Statistics (avg): --- > Statistics (avg of 4000): 67c67 < Statistics (avg): --- > Statistics (avg of 4000):
---------- Differences in errors ---------- 0a1,950 > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==3101692==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x0000018716ed bp 0x7ffc49ea2ef0 sp 0x7ffc49ea2ac0 T0) > ==3101692==The signal is caused by a READ memory access. > ==3101692==Hint: address points to the zero page. > #0 0x18716ed 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 0x17c57b5 in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:317:46 > #2 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #3 0x7f7de05e15fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x7f7de05b07c0 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e27c0) > #5 0x7f7de05b1311 in xercesc_3_2::WFXMLScanner::scanContent() (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e3311) > #6 0x7f7de05b154f in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e354f) > #7 0x7f7de05e1d52 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x213d52) > #8 0x30c5bf5 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 0x31e5d3b 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 0x1772c75 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 0x1767cf4 in NLBuilder::build() /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:124:10 > #12 0x1778ba9 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:330:17 > #13 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #14 0x7f7ddf32f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #15 0x4a845d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a845d) > > AddressSanitizer can not provide additional info. > SUMMARY: AddressSanitizer: SEGV /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:152:15 in NLJunctionControlBuilder::closeJunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) > ==3101692==ABORTING > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==3101725==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x0000018716ed bp 0x7ffe67d60510 sp 0x7ffe67d600e0 T0) > ==3101725==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 > > ================================================================= > ==3090117==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa7ad894082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa7ad894082 in __libc_start_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 > > ================================================================= > ==3090221==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x23e192c 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 0x23a65f0 in MSMeanData::MeanDataValues::notifyMove(SUMOTrafficObject&, double, double, double) /home/delphi/clangDebug/sumo/src/microsim/output/MSMeanData.cpp:254:5 > #4 0xa263b7 in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1106:26 > #5 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #6 0xf8844a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #7 0xe7cbd2 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 > #8 0x56b506 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #9 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f2241901082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 0x2c38435 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 <truncated after showing first 30 lines>
---------- Differences in output ---------- 11c11 < Statistics (avg): --- > Statistics (avg of 2000): 31c31 < Statistics (avg): --- > Statistics (avg of 2000): 39,40c39,40 < < <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"/> < > <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"/> --- > < <vehicleTripStatistics count="2000" 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"/> > > <vehicleTripStatistics count="2000" 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 statistics ---------- 9c9 < <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"/> --- > <vehicleTripStatistics count="2000" 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 ---------- 9c9 < <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"/> --- > <vehicleTripStatistics count="2000" 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 output ---------- 10c10 < Statistics (avg): --- > Statistics (avg of 832): 29c29 < Statistics (avg): --- > Statistics (avg of 832): 37,38c37,38 < < <vehicleTripStatistics routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="8.53" departDelayWaiting="-1.00" totalTravelTime="254598.00" totalDepartDelay="7097.00"/> < > <vehicleTripStatistics routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="0.00" departDelayWaiting="-1.00" totalTravelTime="254598.00" totalDepartDelay="0.00"/> --- > < <vehicleTripStatistics count="832" routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="8.53" departDelayWaiting="-1.00" totalTravelTime="254598.00" totalDepartDelay="7097.00"/> > > <vehicleTripStatistics count="832" routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="0.00" departDelayWaiting="-1.00" totalTravelTime="254598.00" totalDepartDelay="0.00"/> ---------- Differences in statistics ---------- 9c9 < <vehicleTripStatistics routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="8.53" departDelayWaiting="-1.00" totalTravelTime="254598.00" totalDepartDelay="7097.00"/> --- > <vehicleTripStatistics count="832" routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="8.53" departDelayWaiting="-1.00" totalTravelTime="254598.00" totalDepartDelay="7097.00"/> ---------- Differences in statistics2 ---------- 9c9 < <vehicleTripStatistics routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="0.00" departDelayWaiting="-1.00" totalTravelTime="254598.00" totalDepartDelay="0.00"/> --- > <vehicleTripStatistics count="832" routeLength="1179.67" speed="4.17" duration="306.01" waitingTime="144.70" timeLoss="218.02" departDelay="0.00" departDelayWaiting="-1.00" totalTravelTime="254598.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 > > ================================================================= > ==3099331==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6b47703f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099334==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f85dcd405ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120da8d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x2551e54 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099314==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f01617fef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==3099328==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff8ac255f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099275==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe229a4bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==3099306==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f34a99eef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099319==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fcd62ce2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099753==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099809==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099768==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099754==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099827==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099812==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099761==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099849==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099803==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099729==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099807==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099766==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==3099229==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8567738f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099210==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 142 (8-bit, unsigned) to type 'char' changed the value to -114 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -114 (8-bit, signed) to type 'unsigned char' changed the value to 142 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,318 > > ================================================================= > ==3099261==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4893e5c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120da8d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x2551e54 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099266==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2118a195ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120da8d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x2551e54 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099221==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f924b910f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099207==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f187e3a1f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099615==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe814435f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099598==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0a461f2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099594==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fcd4fe6bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099596==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6b70a06f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099624==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099580==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faeeff1a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7faeeff1a082 in __libc_start_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 > > ================================================================= > ==3099362==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fbca90fbf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099368==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f22bdd25f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099444==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f88439baf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099439==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f58f5378f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099424==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f141a361f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099451==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f18fd79ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099373==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f9fe29a7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099385==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f41b6eaaf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099503==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3cdafa9f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099572==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc82967bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099561==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f955a03ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099497==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fed10ee1f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099557==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff75a950f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099508==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f69d07b2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099562==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f486b6d3f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099674==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe9521f5f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099688==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fdb04be4f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099692==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f25b356ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099705==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fea8a3aef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 28a33,361 > > ================================================================= > ==3099719==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f874f07f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120da8d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x2551e54 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099666==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f26ab3c2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099637==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f82b8ecdf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099625==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc670919f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099455==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe7e845c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe7e845c082 in __libc_start_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 > > ================================================================= > ==3099468==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fea2d389082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fea2d389082 in __libc_start_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 > > ================================================================= > ==3099487==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7eff74fb8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7eff74fb8082 in __libc_start_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 > > ================================================================= > ==3099462==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff231bae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff231bae082 in __libc_start_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 > > ================================================================= > ==3099461==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f20066be082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f20066be082 in __libc_start_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 > > ================================================================= > ==3097197==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe0b7b32082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe0b7b32082 in __libc_start_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 > > ================================================================= > ==3098286==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1357be4f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 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 > > ================================================================= > ==3098297==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098309==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8b6a559082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8b6a559082 in __libc_start_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 > > ================================================================= > ==3097323==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f78cff1d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f78cff1d082 in __libc_start_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 > > ================================================================= > ==3097362==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2c33e3c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 6a11,372 > > ================================================================= > ==3097506==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa34b648082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,275 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3097520==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f381e012082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f381e012082 in __libc_start_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 > > ================================================================= > ==3097543==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f36328e3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f36328e3082 in __libc_start_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 > > ================================================================= > ==3097550==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 163 (8-bit, unsigned) to type 'char' changed the value to -93 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -93 (8-bit, signed) to type 'unsigned char' changed the value to 163 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3097672==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9958ac0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9958ac0082 in __libc_start_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 > > ================================================================= > ==3097674==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa33b4d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa33b4d0082 in __libc_start_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 > > ================================================================= > ==3097722==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fb804fe6f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f 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 > > ================================================================= > ==3097785==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f95c8f16f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f 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 > > ================================================================= > ==3097783==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f256190ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f 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 > > ================================================================= > ==3097736==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fec5e9b7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fec5e9b7082 in __libc_start_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 > > ================================================================= > ==3097733==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4c7e902082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4c7e902082 in __libc_start_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 > > ================================================================= > ==3097811==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5dcd70c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3097817==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5473455082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5473455082 in __libc_start_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 > > ================================================================= > ==3097818==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb715f11082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb715f11082 in __libc_start_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 > > ================================================================= > ==3097905==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8bf8d9e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8bf8d9e082 in __libc_start_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 > > ================================================================= > ==3097916==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff80af22082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff80af22082 in __libc_start_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 > > ================================================================= > ==3097942==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4f6b332082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4f6b332082 in __libc_start_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 > > ================================================================= > ==3097954==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 1 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307f98d in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7fe43b794082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 4096 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 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 > > ================================================================= > ==3097955==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc00ef9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe7d6b3 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56b506 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #11 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #12 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7f5d13824082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 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 > > ================================================================= > ==3097957==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0d81978082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0d81978082 in __libc_start_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 > > ================================================================= > ==3097960==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4c78c29082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4c78c29082 in __libc_start_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 > > ================================================================= > ==3097965==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1fd6757082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1fd6757082 in __libc_start_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 > > ================================================================= > ==3097994==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9923926082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9923926082 in __libc_start_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 > > ================================================================= > ==3098003==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc82a814082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc82a814082 in __libc_start_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 > > ================================================================= > ==3098053==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe0955f7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe0955f7082 in __libc_start_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 > > ================================================================= > ==3098075==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f52c67465ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f52c5494082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3098088==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7fade52605ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fade3fae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3098110==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f39ee5165ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f39ed264082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098113==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f016b8c7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f016b8c7082 in __libc_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 > > ================================================================= > ==3098114==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5ce6b20082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5ce6b20082 in __libc_start_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 > > ================================================================= > ==3098138==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb6a8ddd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098144==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa4170e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa4170e9082 in __libc_start_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 > > ================================================================= > ==3098204==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd3be7d3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd3be7d3082 in __libc_start_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 > > ================================================================= > ==3098212==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff5348e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098244==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9e2dbdd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9e2dbdd082 in __libc_start_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 > > ================================================================= > ==3098247==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f350fc49082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f350fc49082 in __libc_start_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 > > ================================================================= > ==3098248==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc2139c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc2139c8082 in __libc_start_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 > > ================================================================= > ==3098263==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f78fc7b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f78fc7b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3103103==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8f3afdc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8f3afdc082 in __libc_start_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 > > ================================================================= > ==3103105==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f98a39c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f98a39c1082 in __libc_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 > > ================================================================= > ==3103102==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 528 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x20fff75 in MSCalibrator::setFlow(long long, long long, double, double, SUMOVehicleParameter) /home/delphi/clangDebug/sumo/src/microsim/trigger/MSCalibrator.cpp:701:30 > #2 0x158e769 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 0x12d9ced in TraCIServerAPI_Calibrator::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Calibrator.cpp:78:17 > #4 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #5 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #6 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #7 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7f65e5f4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, 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 > > ================================================================= > ==3103148==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd07f400082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd07f400082 in __libc_start_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 > > ================================================================= > ==3094425==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7fa07ebe62f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 > #2 0x5cfe47 in GUIApplicationWindow::dependentBuild(bool) /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:266:5 > #3 0x5c0917 in main /home/delphi/clangDebug/sumo/src/guisim_main.cpp:86:17 > #4 0x7fa07ab27082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 2 object(s) allocated from: > #0 0x58db42 in calloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58db42) > #1 0x7fa07ebe693c (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x2193c) > > Indirect leak of 9 byte(s) in 1 object(s) allocated from: > #0 0x579d74 in strdup (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x579d74) > #1 0x7fa07ebe5b64 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 > > ================================================================= > ==3096694==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f21181b2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f21181b2082 in __libc_start_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 > > ================================================================= > ==3096730==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7fc7d0a2d2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7fc7ba35d0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3096891==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f56dce15082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f56dce15082 in __libc_start_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 > > ================================================================= > ==3096905==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f3f68a8d2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f3f517650cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,588 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 166 (8-bit, unsigned) to type 'char' changed the value to -90 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -90 (8-bit, signed) to type 'unsigned char' changed the value to 166 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 166 (8-bit, unsigned) to type 'char' changed the value to -90 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -90 (8-bit, signed) to type 'unsigned char' changed the value to 166 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3097154==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa69d8ec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 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 > > ================================================================= > ==3095693==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f36e4cf6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f36e4cf6082 in __libc_start_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 > > ================================================================= > ==3095243==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f037b987082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f037b987082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2824 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3095504==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7ff57987a2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7ff5625520cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,620 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3096651==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f83c7877082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f83c7877082 in __libc_start_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 > > ================================================================= > ==3095664==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd6abff2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 256 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd6abff2082 in __libc_start_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 > > ================================================================= > ==3096706==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa5389a8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa5389a8082 in __libc_start_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 > > ================================================================= > ==3095747==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f51597cd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 256 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f51597cd082 in __libc_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 > > ================================================================= > ==3096561==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fab98114082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fab98114082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3094709==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a34e5b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3094696==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0f784da082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0f784da082 in __libc_start_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 > > ================================================================= > ==3094713==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f3a8f3372f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f3a7800e0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098928==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5b8936c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5b880ba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098930==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f80ab5fd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f80aa34b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098989==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2ca1e295ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2ca0b77082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098990==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f19b0be95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f19af937082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098945==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f231219a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2310ee8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098982==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3765cf25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3764a40082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 175 (8-bit, unsigned) to type 'char' changed the value to -81 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -81 (8-bit, signed) to type 'unsigned char' changed the value to 175 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,70 > ================================================================= > ==3098905==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000048d90 at pc 0x00000120a12b bp 0x7ffcc968d410 sp 0x7ffcc968d408 > WRITE of size 8 at 0x60b000048d90 thread T0 > #0 0x120a12a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x120923f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x120c533 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7f038a8c0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #5 0x4a845d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a845d) > > 0x60b000048d90 is located 0 bytes inside of 112-byte region [0x60b000048d90,0x60b000048e00) > freed by thread T0 here: > #0 0x550b6d in operator delete(void*) (/home/delphi/clangDebug/sumo/bin/sumoD+0x550b6d) > #1 0x12090d7 in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:363:9 > #2 0x120c533 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7f038a8c0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > previously allocated by thread T0 here: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,381 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099167==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb17431e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099094==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd02a9fe5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd02974c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3099161==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f55d87ec5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f55d753a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098992==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7677dd15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7676b1f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098991==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fdd6849e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdd671ec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3099062==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fabe184a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fabe0598082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3099075==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5a605915ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5a5f2df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098903==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4a89b835ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4a888d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098918==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7dd7fef5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7dd6d3d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3099888==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbcc375a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c712b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13b34d6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x13a5111 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 0x13af73f 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 0x128bb8f in TraCIServerAPI_Edge::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Edge.cpp:53:14 > #7 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 6a7,380 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 204 (8-bit, unsigned) to type 'char' changed the value to -52 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -52 (8-bit, signed) to type 'unsigned char' changed the value to 204 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3094316==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1824 byte(s) in 12 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0xabc16b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x1539322 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0x1eb5ae0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0x2054b90 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xaeb3b2 in GUIVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/guisim/GUIVehicleControl.cpp:53:5 > #6 0x1779fed in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x1a9d02f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x8f355e in GUINet::simulationStep() /home/delphi/clangDebug/sumo/src/guisim/GUINet.cpp:232:12 > #9 0x6d0e28 in GUIRunThread::makeStep() /home/delphi/clangDebug/sumo/src/gui/GUIRunThread.cpp:186:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 172 (8-bit, unsigned) to type 'char' changed the value to -84 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -84 (8-bit, signed) to type 'unsigned char' changed the value to 172 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3094274==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7fb2fb2a52f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7fb2e3f7d0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines> ---------- Differences in output ---------- 13c13 < visible boundary ((-805.859375, -230.0), (1605.859375, 1030.0)) --- > visible boundary ((-801.3953488372093, -230.0), (1601.3953488372094, 1030.0))
---------- 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 > > ================================================================= > ==3094250==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f0b082dd2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f0af0fb20cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,377 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > > ================================================================= > ==3094260==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f149f4e52f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f14886570cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 160 (8-bit, unsigned) to type 'char' changed the value to -96 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -96 (8-bit, signed) to type 'unsigned char' changed the value to 160 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102676==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fed47317f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 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 > > ================================================================= > ==3102691==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efcceab3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efcceab3082 in __libc_start_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 > > ================================================================= > ==3102785==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fdbcf6c15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdbce40f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102695==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f09314685ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f09301b6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102712==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff0ed3685ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff0ec0b6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102243==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f87dd8db082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f87dd8db082 in __libc_start_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 > > ================================================================= > ==3099853==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffb84042082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffb84042082 in __libc_start_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 > > ================================================================= > ==3099851==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c712b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13b34d6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14e228c 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 0x14ec31d 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 0x1299ae3 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7fbe5e061082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3099880==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f207508e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f207508e082 in __libc_start_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 > > ================================================================= > ==3099887==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c712b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13b34d6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14e228c 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 0x14ec31d 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 0x1299ae3 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f6cfee40082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102786==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a97fe4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9a97fe4082 in __libc_start_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 > > ================================================================= > ==3102784==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2f8f89e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2f8f89e082 in __libc_start_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 > > ================================================================= > ==3102796==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4fabb87082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4fabb87082 in __libc_start_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 > > ================================================================= > ==3102779==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff198052082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff198052082 in __libc_start_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 > > ================================================================= > ==3103195==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff34333f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff34333f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3098319==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7bfdf515ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7bfcc9f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098374==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f0c7feca5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0c7ec18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098396==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f31b42675ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f31b2fb5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,406 > > ================================================================= > ==3098875==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #11 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #12 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7f7590b0c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <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 > > ================================================================= > ==3098551==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x16db939 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 0x1382475 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #12 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #13 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #14 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #15 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #16 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #17 0x7f74772a5082 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 > > ================================================================= > ==3098865==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15ee3de 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 0x12fd962 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f4cdb160082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,304 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098867==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15ee3de 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 0x12fd962 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7faf80372082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,304 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098858==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15ee3de 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 0x12fd962 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f8e96d08082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,304 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098869==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 416 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15ee3de 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 0x12fd962 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7fc9f2e5f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc9f2e5f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3098860==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fba1c9ee5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fba1b73c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098785==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5e4cd1d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5e4ba6b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098786==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f1f387b85ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1f37506082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098829==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f81465245ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8145272082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098617==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fadd3eae5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fadd2bfc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 > > ================================================================= > ==3098598==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbde36d75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbde2425082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098639==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd97aff95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd979d47082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098569==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc527438082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc527438082 in __libc_start_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 > > ================================================================= > ==3098561==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2430290082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2430290082 in __libc_start_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 > > ================================================================= > ==3098580==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4f19671082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4f19671082 in __libc_start_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 > > ================================================================= > ==3098552==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7413611082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7413611082 in __libc_start_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 > > ================================================================= > ==3098689==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8bddc6b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8bddc6b082 in __libc_start_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 > > ================================================================= > ==3098770==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd4fbe96082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd4fbe96082 in __libc_start_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 > > ================================================================= > ==3098727==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1fa1363082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1fa1363082 in __libc_start_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 > > ================================================================= > ==3098641==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe7bf734082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe7bf734082 in __libc_start_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 > > ================================================================= > ==3098709==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd293752082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd293752082 in __libc_start_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 > > ================================================================= > ==3098780==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f78dddd3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f78dddd3082 in __libc_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 > > ================================================================= > ==3098400==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f05ebc6f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 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 > > ================================================================= > ==3098407==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f11ef1d45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f11edf22082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098542==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fe480e005ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe47fb4e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098462==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6535f2d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6534c7b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098461==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f86861aa5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8684ef8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098428==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5ae54605ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5ae41ae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3098521==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8731ad75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8730825082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 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 > > ================================================================= > ==3102800==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc612d94082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc612d94082 in __libc_start_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 > > ================================================================= > ==3103168==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1216 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x1e58bce 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 0x1e573d3 in MSDevice_ElecHybrid::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ElecHybrid.cpp:123:43 > #4 0x1b63e07 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:117:5 > #5 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #6 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #7 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #8 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #9 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #10 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #11 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #12 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7fe19312d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 384 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 > > ================================================================= > ==3103124==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0f3384f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0f3384f082 in __libc_start_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 > > ================================================================= > ==3102167==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa3b27db5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa3b1529082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102142==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x130cf3e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12b1869 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f673c8a2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f673c8a2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 206 (8-bit, unsigned) to type 'char' changed the value to -50 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -50 (8-bit, signed) to type 'unsigned char' changed the value to 206 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102219==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f98041c65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9802f14082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102206==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f8d03d8e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8d02adc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3102217==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7fab5e6175ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fab5d365082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3102093==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f918c3745ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f918b0c2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102090==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f21e27bd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f21e150b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102085==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f02a11785ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f029fec6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102091==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb0137fa5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb012548082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3101928==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fbbf6e34082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbbf80e65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101942==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7ff9fb268082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff9fc51a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101966==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fa74f627082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa7508d95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101993==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f7500e18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f75020ca5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3102001==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f5688e37082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f568a0e95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3102032==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f4f831a7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4f844595ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3102082==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f1ed6bb7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f1ed7e695ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3102042==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f5e3bb29082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5e3cddb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3102088==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f87b2f2f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f87b41e15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101965==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f64df6c0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f64e09725ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101943==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fecfa79b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fecfba4d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101945==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f62d728d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f62d853f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101941==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f81c5eff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f81c71b15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3101951==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a6b38 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x141b587 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1535347 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 0x12ba050 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f4002ee8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f400419a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3102106==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x130cf3e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12b6321 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:330:68 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f865ecbb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x130cf3e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12b1869 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 3a8,379 > > ================================================================= > ==3102114==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9275ead5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9274bfb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3102139==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ffa08c8f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa079dd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3102202==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd3f689e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd3f55ec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102200==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fdccd5295ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdccc277082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3102171==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15ee3de 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 0x12fd962 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7efd456c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7efd4697a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,85 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19: runtime error: member call on address 0x606000085d60 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000085d60: note: object has invalid vptr > 26 00 80 26 24 00 80 1a 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 > 26 00 80 26 24 00 80 1a 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 > ================================================================= > ==3102858==ERROR: AddressSanitizer: heap-use-after-free on address 0x606000085d90 at pc 0x000002ff109b bp 0x7ffe8f6836f0 sp 0x7ffe8f6836e8 > WRITE of size 1 at 0x606000085d90 thread T0 > #0 0x2ff109a in ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics*>::deschedule() /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:33 > #1 0x2fe5142 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19 > #2 0x2fe5954 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:49:35 > #3 0x561965 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:315:5 > #4 0x563f04 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:291:17 > #5 0x554631 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:99:17 > #6 0x7f6995157082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #7 0x4a845d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a845d) > > 0x606000085d90 is located 48 bytes inside of 56-byte region [0x606000085d60,0x606000085d98) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,271 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 249 (8-bit, unsigned) to type 'char' changed the value to -7 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -7 (8-bit, signed) to type 'unsigned char' changed the value to 249 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102907==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f611c3ec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f611c3ec082 in __libc_start_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 > > ================================================================= > ==3102865==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2a888ab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 200 (8-bit, unsigned) to type 'char' changed the value to -56 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -56 (8-bit, signed) to type 'unsigned char' changed the value to 200 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 6a11,410 > > ================================================================= > ==3102903==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f74d77e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,290 > > ================================================================= > ==3103177==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0f50a18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0f50a18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3102683==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1585a1a 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 0x12d6327 in TraCIServerAPI_Route::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Route.cpp:74:17 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f3335f33082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3335f33082 in __libc_start_main /build/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 > > ================================================================= > ==3103214==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 4096 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1e13c7af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 6a11,401 > > ================================================================= > ==3103090==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xf7f161 in MSLane::handleCollisionBetween(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MSVehicle const*, MSVehicle const*, double, double, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&) const /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1948:31 > #9 0xf868b9 in MSLane::detectCollisionBetween(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MSVehicle*, MSVehicle*, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&) const /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1827:9 > #10 0xf704ea in MSLane::detectCollisions(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1587:13 > #11 0xe8082f in MSEdgeControl::detectCollisions(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:341:19 > #12 0x56b772 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:668:22 > #13 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #14 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #15 0x7f3ac633e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,630 > > ================================================================= > ==3103099==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 40 byte(s) in 1 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307f98d in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f257461d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f257461d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, 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 > > ================================================================= > ==3102964==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #11 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #12 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7f60c1221082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,374 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102957==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f4de1aacf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f 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 > > ================================================================= > ==3103038==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc3e9f20082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc3e9f20082 in __libc_start_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 > > ================================================================= > ==3102965==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdcc2572082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdcc2572082 in __libc_start_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 > > ================================================================= > ==3102989==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7fe7790e35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe777e31082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3103002==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f5b450f25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5b43e40082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3103030==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f57d2ce65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f57d2ce65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f 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 > > ================================================================= > ==3102959==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9536be3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9536be3082 in __libc_start_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 > > ================================================================= > ==3102923==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8d97e9e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8d97e9e082 in __libc_start_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 > > ================================================================= > ==3102951==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7feca7684f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102987==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fdfd0ddef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102976==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f57e7b3b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f57e7b3b082 in __libc_start_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 > > ================================================================= > ==3102985==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f977d4a8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f977d4a8082 in __libc_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 > > ================================================================= > ==3103076==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 832 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15ee3de 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 0x12fd962 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f214d295082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 624 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15e557c 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 0x12fa283 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:227:56 > #3 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102568==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102523==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102565==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102537==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102552==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 4a5,315 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102640==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f459e20e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f459e20e082 in __libc_start_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 > > ================================================================= > ==3102642==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f79d87c5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f79d87c5082 in __libc_start_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 > > ================================================================= > ==3102245==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f3d63b5ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102286==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f9164c55f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102323==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc44e107f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102335==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fd2d528af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102302==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f7be6fa7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102332==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f3bfe064f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102345==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fcb52991f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==3102343==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f234171ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102357==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fcf463a1f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==3102360==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc71ead6f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,338 > > ================================================================= > ==3102388==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fac0c995f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,336 > > ================================================================= > ==3102384==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f3d389d3f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==3102413==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f3921de7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,336 > > ================================================================= > ==3102421==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f40ac818f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102492==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc512fe9f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102462==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fb0ff450f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==3102496==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f8fab047f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f 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 > > ================================================================= > ==3102505==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fdf315bef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f 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 > > ================================================================= > ==3102467==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f7024eb0f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102431==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fe0e56abf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 5a10,371 > > ================================================================= > ==3102450==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd1943f in MSBaseVehicle::reroute(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SUMOAbstractRouter<MSEdge, SUMOVehicle>&, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:319:5 > #12 0x1efae33 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 0x1d76f61 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #14 0x1d729bb in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #15 0x1d7c03e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #16 0xed50b0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #17 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,346 > > ================================================================= > ==3102459==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5331d8df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3102254==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f6c82febf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,337 > > ================================================================= > ==3102271==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f581681cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,259 > > ================================================================= > ==3102595==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f983fd39082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,259 > > ================================================================= > ==3102610==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9b2b29d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,337 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102625==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fcc6ae84f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3102613==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6fee8c9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6fee8c9082 in __libc_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,1009 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==3102624==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1840 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1fe49d8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f0593a 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 0x1ef904b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1efa07f 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 0x1d76f61 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d729bb in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d7c03e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed50b0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f3f11570082 in __libc_start_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 > > ================================================================= > ==3102579==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f449e292082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,251 > > ================================================================= > ==3103203==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f647aa2b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f647aa2b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3101513==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f68e8863082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f68e8863082 in __libc_start_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 > > ================================================================= > ==3101520==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc6eea4e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc6eea4e082 in __libc_start_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 > > ================================================================= > ==3101475==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6c506f7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6c506f7082 in __libc_start_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 > > ================================================================= > ==3101562==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b84522082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6b84522082 in __libc_start_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 > > ================================================================= > ==3101555==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb553a70082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,276 > > ================================================================= > ==3101557==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f459b92b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 141 (8-bit, unsigned) to type 'char' changed the value to -115 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -115 (8-bit, signed) to type 'unsigned char' changed the value to 141 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101523==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f584654e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f584654e082 in __libc_start_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 > > ================================================================= > ==3101521==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f63e7623082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f63e7623082 in __libc_start_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 > > ================================================================= > ==3100245==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1fd3621082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1fd3621082 in __libc_start_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 > > ================================================================= > ==3100303==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fea54830082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fea54830082 in __libc_start_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 > > ================================================================= > ==3100293==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdaae526082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdaae526082 in __libc_start_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 > > ================================================================= > ==3100316==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb0045fa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb0045fa082 in __libc_start_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 > > ================================================================= > ==3100314==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcad6a6e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 129 (8-bit, unsigned) to type 'char' changed the value to -127 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -127 (8-bit, signed) to type 'unsigned char' changed the value to 129 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100262==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2491913082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2491913082 in __libc_start_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 > > ================================================================= > ==3100312==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd8354f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd8354f4082 in __libc_start_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 > > ================================================================= > ==3100383==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffb0d40f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffb0d40f082 in __libc_start_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 > > ================================================================= > ==3100344==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f02275d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f02275d1082 in __libc_start_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 > > ================================================================= > ==3100342==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f74d296a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f74d296a082 in __libc_start_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 > > ================================================================= > ==3100360==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcbbfd32082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcbbfd32082 in __libc_start_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 > > ================================================================= > ==3100378==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,300 > > ================================================================= > ==3100376==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f045be8e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 129 (8-bit, unsigned) to type 'char' changed the value to -127 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -127 (8-bit, signed) to type 'unsigned char' changed the value to 129 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100333==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4d7e96e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4d7e96e082 in __libc_start_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 > > ================================================================= > ==3100397==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f48acb2a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f48acb2a082 in __libc_start_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 > > ================================================================= > ==3100429==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f75261dd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f75261dd082 in __libc_start_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 > > ================================================================= > ==3100435==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fab19c0b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fab19c0b082 in __libc_start_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 > > ================================================================= > ==3100436==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5a89026082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5a89026082 in __libc_start_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 > > ================================================================= > ==3100481==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff11003d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff11003d082 in __libc_start_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 > > ================================================================= > ==3100444==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f09d9557082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f09d9557082 in __libc_start_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 > > ================================================================= > ==3100470==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f117b188082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f117b188082 in __libc_start_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 > > ================================================================= > ==3100477==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7e761c3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7e761c3082 in __libc_start_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 > > ================================================================= > ==3100479==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f66f5819082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f66f5819082 in __libc_start_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 > > ================================================================= > ==3101635==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcd3a8f2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcd3a8f2082 in __libc_start_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 > > ================================================================= > ==3101822==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6a1fcf4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6a1fcf4082 in __libc_start_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 > > ================================================================= > ==3101743==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f61f5505082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f61f5505082 in __libc_start_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 > > ================================================================= > ==3101814==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8863fca082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101820==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f37b83adf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 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 > > ================================================================= > ==3101650==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f9b1676ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,329 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101691==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f671e1a0f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,311 > > ================================================================= > ==3101655==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101762==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdeaf5e6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdeaf5e6082 in __libc_start_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 > > ================================================================= > ==3101904==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101283==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd6f7e6 in MSBaseVehicle::insertStop(int, SUMOVehicleParameter::Stop, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:1685:12 > #12 0x16be108 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 0x138e354 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 0x13675c7 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:493:22 > #15 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101122==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7df8e8e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7df8e8e082 in __libc_start_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 > > ================================================================= > ==3101173==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f855fd2b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101136==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff141bbc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff141bbc082 in __libc_start_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 > > ================================================================= > ==3101129==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4dd977f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4dd977f082 in __libc_start_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 > > ================================================================= > ==3101138==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbafd100082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbafd100082 in __libc_start_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 > > ================================================================= > ==3101145==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fee9f97f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,319 > > ================================================================= > ==3101280==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc4e22d8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101275==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f41fcf71082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f41fcf71082 in __libc_start_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 > > ================================================================= > ==3101296==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efe7265e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efe7265e082 in __libc_start_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 > > ================================================================= > ==3101286==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6f9fe7f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,372 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101168==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f822d9db082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f822d9db082 in __libc_start_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 > > ================================================================= > ==3101148==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc53643d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc53643d082 in __libc_start_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 > > ================================================================= > ==3101228==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcf6fa32082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcf6fa32082 in __libc_start_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 > > ================================================================= > ==3101174==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb68fd87082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,8 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 18a27,1358 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==3101191==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1fe49d8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f0593a 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 0x1ef904b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1efa07f 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 0x1d76f61 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d729bb in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d7c03e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed50b0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f58fedab082 in __libc_start_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 > > ================================================================= > ==3101187==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4fd5643082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101235==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f238a116082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f238a116082 in __libc_start_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 > > ================================================================= > ==3101249==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f91b18ea082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f91b18ea082 in __libc_start_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 > > ================================================================= > ==3101285==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f488a073082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,312 > > ================================================================= > ==3101854==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd373041082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,362 > > ================================================================= > ==3099914==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe47013bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,362 > > ================================================================= > ==3099937==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,364 > > ================================================================= > ==3099956==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 8a13,368 > > ================================================================= > ==3099970==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,364 > > ================================================================= > ==3099977==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 8a13,368 > > ================================================================= > ==3099991==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100238==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f93e3505082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f93e3505082 in __libc_start_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 > > ================================================================= > ==3100216==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efda09a8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efda09a8082 in __libc_start_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 > > ================================================================= > ==3100233==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd7ade2f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd7ade2f082 in __libc_start_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 > > ================================================================= > ==3100194==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1547833082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202c6c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,295 > > ================================================================= > ==3100101==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7421ee7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,316 > > ================================================================= > ==3100033==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fef82e3a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,295 > > ================================================================= > ==3100044==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa276095082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100049==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa543063082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa543063082 in __libc_start_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 > > ================================================================= > ==3100161==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9aa2c5b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9aa2c5b082 in __libc_start_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 > > ================================================================= > ==3100163==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc2539ef082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc2539ef082 in __libc_start_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 > > ================================================================= > ==3100176==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb744982082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb744982082 in __libc_start_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 > > ================================================================= > ==3100067==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7bc9d44082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7bc9d44082 in __libc_start_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 > > ================================================================= > ==3099994==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fada0f1b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fada0f1b082 in __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 > > ================================================================= > ==3100151==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdacf7b9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdacf7b9082 in __libc_start_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 > > ================================================================= > ==3100153==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1b901b9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1b901b9082 in __libc_start_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 > > ================================================================= > ==3100126==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcc643e1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,296 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099997==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa202fdf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa202fdf082 in __libc_start_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 > > ================================================================= > ==3100003==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faadbe93082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7faadbe93082 in __libc_start_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 > > ================================================================= > ==3100144==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe654cf4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe654cf4082 in __libc_start_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 > > ================================================================= > ==3100198==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53201e6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,296 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100046==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f079313e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f079313e082 in __libc_start_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 > > ================================================================= > ==3100041==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9d02d74082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9d02d74082 in __libc_start_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 > > ================================================================= > ==3100108==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7eff5c576082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7eff5c576082 in __libc_start_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 > > ================================================================= > ==3100191==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe514ee8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe514ee8082 in __libc_start_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 > > ================================================================= > ==3100091==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0f49114082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0f49114082 in __libc_start_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 > > ================================================================= > ==3101648==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb10ab76082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,358 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100556==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8cffc95082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8cffc95082 in __libc_start_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 > > ================================================================= > ==3100588==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa936616082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa936616082 in __libc_start_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 > > ================================================================= > ==3100555==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1aa17485fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100651==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc0f2c8e5fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100560==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe99a5225fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100652==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f55472405fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,335 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100677==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb9087ee5fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,320 > > ================================================================= > ==3100649==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f326693e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100513==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7f3a6c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7f3a6c1082 in __libc_start_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 > > ================================================================= > ==3100554==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9b8a497082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9b8a497082 in __libc_start_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 > > ================================================================= > ==3100511==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f328884f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f328884f082 in __libc_start_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 > > ================================================================= > ==3100496==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f015c0ad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f015c0ad082 in __libc_start_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 > > ================================================================= > ==3100647==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f63d9e89082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f63d9e89082 in __libc_start_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 > > ================================================================= > ==3101773==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307f98d in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f9762e90082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9762e90082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 80 byte(s) in 7 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307fc3f in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:64:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f9762e90082 in __libc_start_main /build/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 > > ================================================================= > ==3100972==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd633a7 in MSBaseVehicle::replaceStop(int, SUMOVehicleParameter::Stop, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:1533:12 > #12 0x16bd5cb 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 0x138e0bd 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 0x136748f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100746==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3746d28082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3746d28082 in __libc_start_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 > > ================================================================= > ==3100775==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7febffa58082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7febffa58082 in __libc_start_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 > > ================================================================= > ==3100780==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fada9de7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fada9de7082 in __libc_start_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 > > ================================================================= > ==3100805==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f38c7218082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f38c7218082 in __libc_start_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 > > ================================================================= > ==3101043==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f31ed7e4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f31ed7e4082 in __libc_start_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 > > ================================================================= > ==3101101==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3731505082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3731505082 in __libc_start_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 > > ================================================================= > ==3101106==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0943b81082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 > > ================================================================= > ==3100809==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcb55e57082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,319 > > ================================================================= > ==3100973==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9cf114c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100945==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f32dc747082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f32dc747082 in __libc_start_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 > > ================================================================= > ==3101007==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7e68711082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7e68711082 in __libc_start_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 > > ================================================================= > ==3100943==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f18de639082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f18de639082 in __libc_start_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 > > ================================================================= > ==3100966==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f354ba28082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101044==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe339516082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe339516082 in __libc_start_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 > > ================================================================= > ==3101017==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f57c78d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100842==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa57ac8e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa57ac8e082 in __libc_start_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 > > ================================================================= > ==3100838==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd67e45 in MSBaseVehicle::rerouteBetweenStops(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:1587:12 > #12 0x16bca27 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 0x138e0bd 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 0x136748f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,372 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100814==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f01417f7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f01417f7082 in __libc_start_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 > > ================================================================= > ==3100812==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f26bb804082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f26bb804082 in __libc_start_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 > > ================================================================= > ==3100930==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fde39948082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fde39948082 in __libc_start_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 > > ================================================================= > ==3100811==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f009ec3f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f009ec3f082 in __libc_start_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 > > ================================================================= > ==3100858==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f14a1fe5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f14a1fe5082 in __libc_start_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 > > ================================================================= > ==3101041==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa4b13c45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa4b0112082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3100861==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1b52f19082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,8 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 5a14,1392 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==3100876==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1fe49d8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f0593a 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 0x1ef904b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1efa07f 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 0x1d76f61 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d729bb in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d7c03e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed50b0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f5a7732a082 in __libc_start_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 > > ================================================================= > ==3100871==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbe77bda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1204f92 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,319 > > ================================================================= > ==3101042==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa35e6c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,332 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101629==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc7644b8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc7644b8082 in __libc_start_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 > > ================================================================= > ==3101779==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f43f7c84082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f43f7c84082 in __libc_start_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 > > ================================================================= > ==3101768==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f255d09d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f255d09d082 in __libc_start_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 > > ================================================================= > ==3101829==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc9fcec1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203602 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc9fcec1082 in __libc_start_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 > > ================================================================= > ==3101808==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4f99e8d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100738==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9177cc1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9177cc1082 in __libc_start_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 > > ================================================================= > ==3100718==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2049fda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2049fda082 in __libc_start_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 > > ================================================================= > ==3100686==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9bdf571082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9bdf571082 in __libc_start_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 > > ================================================================= > ==3100699==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6557dc1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3100739==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faa8ea92082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7faa8ea92082 in __libc_start_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 > > ================================================================= > ==3100744==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5ea8979082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5ea8979082 in __libc_start_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 > > ================================================================= > ==3101774==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0a4eada082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0a4eada082 in __libc_start_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 > > ================================================================= > ==3101785==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdba5971082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1203934 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdba5971082 in __libc_start_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 > > ================================================================= > ==3099906==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 576 byte(s) in 24 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c07fa9 in MSDevice_SSM::getUpstreamVehicles(MSDevice_SSM::UpstreamScanStartInfo const&, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&, std::set<MSJunction const*, std::less<MSJunction const*>, std::allocator<MSJunction const*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDev ice_SSM.cpp:3281:30 > #2 0x1bac135 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3234:9 > #3 0x1ba3a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1ba2fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #5 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 > #6 0x56e08c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #7 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fe9b3073082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 96 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c0f8b9 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_1::operator()(std::vector<MSVehicle*, std::allocator<MSVehicle*> > const&) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice _SSM.cpp:3390:26 > #2 0x1c0b068 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_0::operator()(MSLane const*) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3412:9 > #3 0x1c068b0 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3461:5 > #4 0x1ba6661 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3055:9 > #5 0x1ba3a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1ba2fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #7 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3099909==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 20 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c07fa9 in MSDevice_SSM::getUpstreamVehicles(MSDevice_SSM::UpstreamScanStartInfo const&, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&, std::set<MSJunction const*, std::less<MSJunction const*>, std::allocator<MSJunction const*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDev ice_SSM.cpp:3281:30 > #2 0x1bac135 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3234:9 > #3 0x1ba3a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1ba2fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #5 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 > #6 0x56e08c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #7 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fed215dc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 192 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c0f8b9 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_1::operator()(std::vector<MSVehicle*, std::allocator<MSVehicle*> > const&) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice _SSM.cpp:3390:26 > #2 0x1c0b068 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_0::operator()(MSLane const*) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3412:9 > #3 0x1c068b0 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3461:5 > #4 0x1ba6661 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3055:9 > #5 0x1ba3a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1ba2fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #7 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101698==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4d7fa22082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4d7fa22082 in __libc_start_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 > > ================================================================= > ==3101729==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f29497de082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f29497de082 in __libc_start_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 > > ================================================================= > ==3101696==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f64fcbb9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x12055f6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,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 > > ================================================================= > ==3101316==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f809abd75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101407==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f025d8a25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,445 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101420==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8d0069c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101444==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6ab7b065ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101410==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f92a87b85ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101408==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7b0007a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101417==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f1e688025ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101418==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd1ee4335ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,485 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101437==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd7558365ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,450 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101320==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1795dbc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30994a3 in GenericSAXHandler::startElement(char16_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 0x7f24e6aaf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 16 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa 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 > > ================================================================= > ==3101446==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2df8cad5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101477==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 144 byte(s) in 6 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f977d3355ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 24 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101450==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fcdc94735ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 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 > > ================================================================= > ==3101328==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7b3cb7f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,438 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101364==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ebdeaa in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f2963662f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in 18a25,608 > /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31: runtime error: signed integer overflow: 9223372036854775807 - -1 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31 in > > ================================================================= > ==3101591==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c712b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x16a04d6 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 0x171026d 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 0x13479bc in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #9 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f3155308082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 384 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101595==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3e62fce082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3e62fce082 in __libc_start_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 > > ================================================================= > ==3101618==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2fce9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf48fac in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf54918 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd9a3c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee77f7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee6751 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in 18a25,608 > /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31: runtime error: signed integer overflow: 9223372036854775807 - -1 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31 in > > ================================================================= > ==3101596==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c712b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x16a04d6 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 0x171026d 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 0x13479bc in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1218981 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #9 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f643f929082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 384 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3101611==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4de634b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4de634b082 in __libc_start_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 > > ================================================================= > ==3101927==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f608bb29082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x120293a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 165 (8-bit, unsigned) to type 'char' changed the value to -91 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -91 (8-bit, signed) to type 'unsigned char' changed the value to 165 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,298 > > ================================================================= > ==3101908==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fadcb21a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1255aa0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12559cd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125567c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12537f2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1252403 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123984b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202608 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 219 (8-bit, unsigned) to type 'char' changed the value to -37 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -37 (8-bit, signed) to type 'unsigned char' changed the value to 219 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3103666==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85424 byte(s) in 562 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f5baef7f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30816 byte(s) in 642 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 > > ================================================================= > ==3103661==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85272 byte(s) in 561 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f4f0d81b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30864 byte(s) in 643 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 > > ================================================================= > ==3103680==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 87096 byte(s) in 573 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fa074c6f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30816 byte(s) in 642 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 > > ================================================================= > ==3103653==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 86336 byte(s) in 568 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f17ea24b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30864 byte(s) in 643 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 > > ================================================================= > ==3103711==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f373ba8b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 59904 byte(s) in 288 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2043ac0 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 0x1e847cc 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 0x24fbce7 in MSStageDriving::registerWaiting(MSTransportable*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:290:9 > #4 0x24f84ee in MSStageDriving::proceed(MSNet*, MSTransportable*, long long, MSStage*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:257:9 > #5 0x2520be4 in MSTransportable::proceed(MSNet*, long long, bool) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportable.cpp:117:20 > #6 0x24a57b5 in MSPerson::MSPersonStage_Walking::moveToNextEdge(MSTransportable*, long long, int, MSEdge*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:328:22 > #7 0x25d7840 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 0x25c999f 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 0x26153db in MSPModel_Striping::MovePedestrians::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:2510:14 > #10 0xed50b0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #11 0x56a609 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:640:30 > #12 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7f373a7d9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1,2c1 < Warning: Person 'v-7.5p0' is jammed on edge 'cyber6to7', time=644.00. < Warning: Person 'v7.6p2' is jammed on edge 'cyber6to7', time=648.00. --- > Warning: Person 'v-7.6p0' is jammed on edge 'cyber6to7', time=681.00. 5a5,32 > > ================================================================= > ==3103759==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2493b865ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 24 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85d31 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0xeeccbd in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #9 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,14 > > ================================================================= > ==3104035==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4800 byte(s) in 200 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f30d42e25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3104740==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 2256 byte(s) in 94 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6067aa65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc00ef9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe7d6b3 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56b506 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #11 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,515 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3103827==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb4dab in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30994a3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f76834015ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 32 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e85fe8 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 0x1e7e035 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b63ea6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x16db939 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 0x1382475 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #10 0x120ef9b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #11 0x1218981 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 > > ================================================================= > ==3104563==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120cfdd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1ffec68f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testcommon' ---------- Differences in output ---------- 1,111d0 < Running main() from gtest_main.cc < [==========] Running 45 tests from 5 test suites. < [----------] Global test environment set-up. < [----------] 10 tests from StringTokenizer < [ RUN ] StringTokenizer.test_split_with_whitechar < [ OK ] StringTokenizer.test_split_with_whitechar ((TIME)) < [ RUN ] StringTokenizer.test_split_with_newline < [ OK ] StringTokenizer.test_split_with_newline ((TIME)) < [ RUN ] StringTokenizer.test_split_with_x < [ OK ] StringTokenizer.test_split_with_x ((TIME)) < [ RUN ] StringTokenizer.test_split_any_char < [ OK ] StringTokenizer.test_split_any_char ((TIME)) < [ RUN ] StringTokenizer.test_method_reinit < [ OK ] StringTokenizer.test_method_reinit ((TIME)) < [ RUN ] StringTokenizer.test_method_size < [ OK ] StringTokenizer.test_method_size ((TIME)) < [ RUN ] StringTokenizer.test_method_front < [ OK ] StringTokenizer.test_method_front ((TIME)) < [ RUN ] StringTokenizer.test_method_get < [ OK ] StringTokenizer.test_method_get ((TIME)) < [ RUN ] StringTokenizer.test_method_get_with_empty_data < [ OK ] StringTokenizer.test_method_get_with_empty_data ((TIME)) < [ RUN ] StringTokenizer.test_method_getVector < [ OK ] StringTokenizer.test_method_getVector ((TIME)) < [----------] 10 tests from StringTokenizer ((TIME) total) < < [----------] 4 tests from FileHelpers < [ RUN ] FileHelpers.test_method_checkForRelativity < [ OK ] FileHelpers.test_method_checkForRelativity ((TIME)) <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testfoxtools' ---------- Differences in output ---------- 1,13d0 < Running main() from gtest_main.cc < [==========] Running 2 tests from 1 test suite. < [----------] Global test environment set-up. < [----------] 2 tests from MFXWorkerThread < [ RUN ] MFXWorkerThread.test_init < [ OK ] MFXWorkerThread.test_init ((TIME)) < [ RUN ] MFXWorkerThread.test_get_all < [ OK ] MFXWorkerThread.test_get_all ((TIME)) < [----------] 2 tests from MFXWorkerThread ((TIME) total) < < [----------] Global test environment tear-down < [==========] 2 tests from 1 test suite ran. ((TIME) total) < [ PASSED ] 2 tests. ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testgeom' ---------- Differences in output ---------- 1,71d0 < Running main() from gtest_main.cc < [==========] Running 28 tests from 3 test suites. < [----------] Global test environment set-up. < [----------] 12 tests from Boundary < [ RUN ] Boundary.test_method_add < [ OK ] Boundary.test_method_add ((TIME)) < [ RUN ] Boundary.test_method_add_multiple < [ OK ] Boundary.test_method_add_multiple ((TIME)) < [ RUN ] Boundary.test_method_getCenter < [ OK ] Boundary.test_method_getCenter ((TIME)) < [ RUN ] Boundary.test_method_getWidthHeight < [ OK ] Boundary.test_method_getWidthHeight ((TIME)) < [ RUN ] Boundary.test_method_around < [ OK ] Boundary.test_method_around ((TIME)) < [ RUN ] Boundary.test_method_overlapsWith < [ OK ] Boundary.test_method_overlapsWith ((TIME)) < [ RUN ] Boundary.test_method_crosses < [ OK ] Boundary.test_method_crosses ((TIME)) < [ RUN ] Boundary.test_method_partialWithin < [ OK ] Boundary.test_method_partialWithin ((TIME)) < [ RUN ] Boundary.test_method_flipY < [ OK ] Boundary.test_method_flipY ((TIME)) < [ RUN ] Boundary.test_method_moveby < [ OK ] Boundary.test_method_moveby ((TIME)) < [ RUN ] Boundary.test_method_growWidth < [ OK ] Boundary.test_method_growWidth ((TIME)) < [ RUN ] Boundary.test_method_growHeight < [ OK ] Boundary.test_method_growHeight ((TIME)) < [----------] 12 tests from Boundary ((TIME) total) <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testlibsumo' ---------- Differences in output ---------- 1,8d0 < < Copyright (C) 2001-2022 German Aerospace Center (DLR) and others; https://sumo.dlr.de < Use --help to get the list of options. < Simulation loaded < < Copyright (C) 2001-2022 German Aerospace Center (DLR) and others; https://sumo.dlr.de < Use --help to get the list of options. < Simulation started ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testmicrosim' ---------- Differences in output ---------- 1,29d0 < Running main() from gtest_main.cc < [==========] Running 7 tests from 3 test suites. < [----------] Global test environment set-up. < [----------] 1 test from MSEventControl < [ RUN ] MSEventControl.test_method_execute < [ OK ] MSEventControl.test_method_execute ((TIME)) < [----------] 1 test from MSEventControl ((TIME) total) < < [----------] 4 tests from MSCFModelTest < [ RUN ] MSCFModelTest.test_method_brakeGap < [ OK ] MSCFModelTest.test_method_brakeGap ((TIME)) < [ RUN ] MSCFModelTest.test_method_static_brakeGap < [ OK ] MSCFModelTest.test_method_static_brakeGap ((TIME)) < [ RUN ] MSCFModelTest.test_method_static_freeSpeed < [ OK ] MSCFModelTest.test_method_static_freeSpeed ((TIME)) < [ RUN ] MSCFModelTest.test_method_static_freeSpeed_half < [ OK ] MSCFModelTest.test_method_static_freeSpeed_half ((TIME)) < [----------] 4 tests from MSCFModelTest ((TIME) total) < < [----------] 2 tests from MSCFModel_IDMTest < [ RUN ] MSCFModel_IDMTest.test_method_brakeGap < [ OK ] MSCFModel_IDMTest.test_method_brakeGap ((TIME)) < [ RUN ] MSCFModel_IDMTest.test_method_getSecureGap < [ OK ] MSCFModel_IDMTest.test_method_getSecureGap ((TIME)) < [----------] 2 tests from MSCFModel_IDMTest ((TIME) total) < < [----------] Global test environment tear-down < [==========] 7 tests from 3 test suites ran. ((TIME) total) < [ PASSED ] 7 tests. <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testnetbuild' ---------- Differences in output ---------- 1,16d0 < Running main() from gtest_main.cc < [==========] Running 2 tests from 2 test suites. < [----------] Global test environment set-up. < [----------] 1 test from NBHeightMapperTest < [ RUN ] NBHeightMapperTest.test_method_getZ < [ OK ] NBHeightMapperTest.test_method_getZ ((TIME)) < [----------] 1 test from NBHeightMapperTest ((TIME) total) < < [----------] 1 test from NBTrafficLightLogic < [ RUN ] NBTrafficLightLogic.test_method_getDuration < [ OK ] NBTrafficLightLogic.test_method_getDuration ((TIME)) < [----------] 1 test from NBTrafficLightLogic ((TIME) total) < < [----------] Global test environment tear-down < [==========] 2 tests from 2 test suites ran. ((TIME) total) < [ PASSED ] 2 tests. ---------- New result in exitcode ---------- 1
dynamic ToC triggered despite stop present on vehicle's lane continuation (This bug was triggered by text found in file 'tocs' matching 'DYNTOR') ---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3092900==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x120216f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb64992c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125d060 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 0x125cf8d 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 0x125cc3c 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 0x125adb2 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 0x12599c3 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 0x123a04b 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 0x1205928 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x120b782 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1778179 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb64992c082 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 0x7fb6dd75c3c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7fb6dd7a8240> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fb6dd7a8700> 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 0x7fb6dd428040> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7fb6dd76cb00> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fb6dd75fa00> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fb6dd7ab580> 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 0x7fb6dd7ab9c0> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (73.0, 74.0) <zip object at 0x7fb6dd761880> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fb6dd761840> 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 0x7f5f9ea2b280> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (148.9, 149.0) <zip object at 0x7f5f9e7804c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7f5f9ea1d580> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7f5f9eeed500> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7f5f9ef53940> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7f5f9ef53dc0> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7f5f9ef53a40> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7f5f9ef53b00> 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 0x7f31583232c0> > failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f31582f0240> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f3158310840> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f3158310640> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f3158310340> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f3158310a40> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f3158310e00> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f3158310c00> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f3157e150c0> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f3157aff300> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f3157fd89c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f3158344b80> <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 0x7fc667c8ffc0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fc667ccc940> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fc667cccb40> 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 0x7fc6679583c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fc667cc7640> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fc667c1fdc0> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fc667c1f240> 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 0x7fc667c9a6c0> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fc667c8a100> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fc667c8afc0> 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 0x7fe3f942b4c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fe3f94b4ec0> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fe3f9405e80> 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 0x7fe3f90f14c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fe3f9433f80> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fe3f9433480> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fe3f93bb280> 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 0x7fe3f9468880> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (78.0, 79.0) <zip object at 0x7fe3f9468980> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fe3f9468780> 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 0x7f2a990442c0> > failed 1 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f2a990441c0> > failed 10 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f2a9903fe40> > failed 100 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f2a99044400> > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f2a98ffd280> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f2a99044940> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f2a98fdc280> > failed 100 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f2a98fdc700> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f2a98cc81c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f2a9903f680> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f2a99035c80> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f2a99044940> > failed 0.1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f2a98f8de00> > failed 1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f2a98fd2680> > failed 10 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f2a98fd2ec0> > failed 100 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f2a98fd2700> > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f2a98fd2300> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f2a98fd2cc0> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f2a98f8df00> > failed 100 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f2a98ff8c80> > failed 0.1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f2a98ff80c0> > failed 1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f2a98ffa100> > failed 10 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f2a9903f640> > failed 100 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f2a98f8d040>
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). > ================================================================= > ==3100516==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000015a10 at pc 0x00000120a12b bp 0x7ffd7ce60950 sp 0x7ffd7ce60948 > WRITE of size 8 at 0x60b000015a10 thread T0 ---------- Differences in output ---------- 3,102c3,102 < Time 2.0: Gap 'follower'->'leader' = 5.938 (headway=0.367) < 'follower' speed = 16.161582708 < Time 3.0: Gap 'follower'->'leader' = 8.966 (headway=0.528) < 'follower' speed = 16.9836198736 < Time 4.0: Gap 'follower'->'leader' = 11.281 (headway=0.641) < 'follower' speed = 17.5863190784 < Time 5.0: Gap 'follower'->'leader' = 13.069 (headway=0.725) < 'follower' speed = 18.0379935645 < Time 6.0: Gap 'follower'->'leader' = 14.459 (headway=0.787) < 'follower' speed = 18.3815472225 < Time 7.0: Gap 'follower'->'leader' = 15.545 (headway=0.834) < 'follower' speed = 18.6456171431 < Time 8.0: Gap 'follower'->'leader' = 16.397 (headway=0.870) < 'follower' speed = 18.8501483763 < Time 9.0: Gap 'follower'->'leader' = 17.068 (headway=0.898) < 'follower' speed = 19.0094667411 < Time 10.0: Gap 'follower'->'leader' = 17.596 (headway=0.920) < 'follower' speed = 19.1340998278 < Time 11.0: Gap 'follower'->'leader' = 18.013 (headway=0.937) < 'follower' speed = 19.231918606 < Time 12.0: Gap 'follower'->'leader' = 18.342 (headway=0.950) < 'follower' speed = 19.3088858604 < Time 13.0: Gap 'follower'->'leader' = 18.603 (headway=0.960) < 'follower' speed = 19.3695649077 < Time 14.0: Gap 'follower'->'leader' = 18.810 (headway=0.969) < 'follower' speed = 19.4174756866 < Time 15.0: Gap 'follower'->'leader' = 18.973 (headway=0.975) < 'follower' speed = 19.4553500651 < Time 16.0: Gap 'follower'->'leader' = 19.103 (headway=0.980) <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in output ---------- 0a1 > Interrupt signal received, trying to exit gracefully. ---------- Missing result in log ---------- inserted stepLength exDP sigma speedDev departSpeed 1198 1 false 0.5 0.1 0 1650 1 false 0.5 0.1 max 1520 1 false 0.5 0.1 desired 1935 1 false 0.5 0.1 avg 1440 1 false 0 0 0 2073 1 false 0 0 max 1800 1 false 0 0 desired 1800 1 false 0 0 avg 1198 1 true 0.5 0.1 0 1645 1 true 0.5 0.1 max 1922 1 true 0.5 0.1 desired 1969 1 true 0.5 0.1 avg 1440 1 true 0 0 0 2083 1 true 0 0 max 2482 1 true 0 0 desired 2482 1 true 0 0 avg 1368 0.1 false 0.5 0.1 0 2184 0.1 false 0.5 0.1 max 2051 0.1 false 0.5 0.1 desired 2213 0.1 false 0.5 0.1 avg 1500 0.1 false 0 0 0 2489 0.1 false 0 0 max 2400 0.1 false 0 0 desired 2400 0.1 false 0 0 avg 1368 0.1 true 0.5 0.1 0 2191 0.1 true 0.5 0.1 max 2090 0.1 true 0.5 0.1 desired 2211 0.1 true 0.5 0.1 avg 1500 0.1 true 0 0 0 <truncated after showing first 30 lines> ---------- Missing result in log2 ---------- stepLength exDP sigma speedDev departSpeed 1 false 0.5 0.1 0 1 true 0.5 0.1 0 0.1 false 0.5 0.1 0 0.1 true 0.5 0.1 0 1 false 0 0 0 1 true 0 0 0 0.1 false 0 0 0 0.1 true 0 0 0 1 false 0.5 0.1 desired 1 true 0.5 0.1 max 1 false 0.5 0.1 max 1 false 0 0 avg 1 false 0 0 desired 1 true 0.5 0.1 desired 1 false 0.5 0.1 avg 1 true 0.5 0.1 avg 0.1 false 0.5 0.1 desired 1 false 0 0 max 1 true 0 0 max 0.1 true 0.5 0.1 desired 0.1 false 0.5 0.1 max 0.1 true 0.5 0.1 max 0.1 true 0.5 0.1 avg 0.1 false 0.5 0.1 avg 0.1 false 0 0 avg 0.1 false 0 0 desired 1 true 0 0 avg 1 true 0 0 desired 0.1 true 0 0 avg <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in output ---------- 1a2 > Interrupt signal received, trying to exit gracefully.
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,420 > > ================================================================= > ==3103452==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7f3d2eb8ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 11136 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 0x2c38435 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf8844a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #11 0xe7cbd2 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="959" inserted="704" running="254" waiting="168"/> 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 count="450" routeLength="2041.90" speed="10.11" duration="214.30" waitingTime="60.06" timeLoss="66.90" departDelay="6.81" departDelayWaiting="-1.00" totalTravelTime="96435.00" totalDepartDelay="3064.00"/> ---------- Differences in tls_state ---------- 18,23c18,29 < <tlsState time="172.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="176.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="180.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="232.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="236.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="240.00" id="0" programID="a" phase="0" state="GrGr"/> --- > <tlsState time="132.00" id="0" programID="a" phase="1" state="yryr"/> > <tlsState time="136.00" id="0" programID="a" phase="2" state="rrrr"/> > <tlsState time="140.00" id="0" programID="a" phase="3" state="rGrG"/> > <tlsState time="192.00" id="0" programID="a" phase="4" state="ryry"/> > <tlsState time="196.00" id="0" programID="a" phase="5" state="rrrr"/> > <tlsState time="200.00" id="0" programID="a" phase="0" state="GrGr"/> > <tlsState time="212.00" id="0" programID="a" phase="1" state="yryr"/> > <tlsState time="216.00" id="0" programID="a" phase="2" state="rrrr"/> > <tlsState time="220.00" id="0" programID="a" phase="3" state="rGrG"/> > <tlsState time="272.00" id="0" programID="a" phase="4" state="ryry"/> > <tlsState time="276.00" id="0" programID="a" phase="5" state="rrrr"/> > <tlsState time="280.00" id="0" programID="a" phase="0" state="GrGr"/> 30,35c36,47 < <tlsState time="412.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="416.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="420.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="472.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="476.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="480.00" id="0" programID="a" phase="0" state="GrGr"/> --- > <tlsState time="372.00" id="0" programID="a" phase="1" state="yryr"/> > <tlsState time="376.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,12092 > > ================================================================= > ==3103513==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88d738 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1896:21 > #9 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #10 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #11 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #12 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #13 0x3377245 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 0x2ad117e 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 0x285c504 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 0x187c1e0 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 0x17c612e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f3a15d0ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_marching < Computing for 0<->600 < for tls-type sotl_marching < Computing for 0<->1200 < for tls-type sotl_marching < Computing for 0<->1800 < for tls-type sotl_marching < Computing for 600<->0 < for tls-type sotl_marching < Computing for 600<->600 < for tls-type sotl_marching < Computing for 600<->1200 < for tls-type sotl_marching < Computing for 600<->1800 < for tls-type sotl_marching < Computing for 1200<->0 < for tls-type sotl_marching < Computing for 1200<->600 < for tls-type sotl_marching < Computing for 1200<->1200 < for tls-type sotl_marching < Computing for 1200<->1800 < for tls-type sotl_marching < Computing for 1800<->0 < for tls-type sotl_marching < Computing for 1800<->600 < for tls-type sotl_marching < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="1227" inserted="1037" running="373" waiting="190"/> 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 count="664" routeLength="2041.90" speed="7.66" duration="289.24" waitingTime="126.79" timeLoss="141.80" departDelay="6.80" departDelayWaiting="-1.00" totalTravelTime="192058.00" totalDepartDelay="4519.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,12092 > > ================================================================= > ==3103445==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88d738 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1896:21 > #9 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #10 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #11 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #12 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #13 0x3377245 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 0x2ad117e 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 0x285e6c4 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 0x187b98d 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 0x17c612e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7fa6af359f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_phase < Computing for 0<->600 < for tls-type sotl_phase < Computing for 0<->1200 < for tls-type sotl_phase < Computing for 0<->1800 < for tls-type sotl_phase < Computing for 600<->0 < for tls-type sotl_phase < Computing for 600<->600 < for tls-type sotl_phase < Computing for 600<->1200 < for tls-type sotl_phase < Computing for 600<->1800 < for tls-type sotl_phase < Computing for 1200<->0 < for tls-type sotl_phase < Computing for 1200<->600 < for tls-type sotl_phase < Computing for 1200<->1200 < for tls-type sotl_phase < Computing for 1200<->1800 < for tls-type sotl_phase < Computing for 1800<->0 < for tls-type sotl_phase < Computing for 1800<->600 < for tls-type sotl_phase < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="1227" inserted="929" running="414" waiting="298"/> 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 count="515" routeLength="2041.90" speed="5.95" duration="407.29" waitingTime="222.56" timeLoss="259.89" departDelay="2.95" departDelayWaiting="-1.00" totalTravelTime="209752.00" totalDepartDelay="1521.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,15398 > > ================================================================= > ==3103478==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #9 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11:: basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<c har, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #10 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #11 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #12 0x3377245 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 0x2ad117e 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 0x2861994 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 0x187ab9d 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 0x17c612e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #17 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #18 0x7f658da2ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_platoon < Computing for 0<->600 < for tls-type sotl_platoon < Computing for 0<->1200 < for tls-type sotl_platoon < Computing for 0<->1800 < for tls-type sotl_platoon < Computing for 600<->0 < for tls-type sotl_platoon < Computing for 600<->600 < for tls-type sotl_platoon < Computing for 600<->1200 < for tls-type sotl_platoon < Computing for 600<->1800 < for tls-type sotl_platoon < Computing for 1200<->0 < for tls-type sotl_platoon < Computing for 1200<->600 < for tls-type sotl_platoon < Computing for 1200<->1200 < for tls-type sotl_platoon < Computing for 1200<->1800 < for tls-type sotl_platoon < Computing for 1800<->0 < for tls-type sotl_platoon < Computing for 1800<->600 < for tls-type sotl_platoon < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="668" inserted="430" running="318" waiting="17"/> 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 count="112" routeLength="2041.90" speed="12.18" duration="170.46" waitingTime="20.73" timeLoss="23.18" departDelay="2.33" departDelayWaiting="-1.00" totalTravelTime="19092.00" totalDepartDelay="261.00"/> ---------- Differences in tls_state ---------- 6,80c6,50 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="126.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="130.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="134.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="186.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="190.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="194.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="246.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="250.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="254.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="306.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="310.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="314.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="366.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="370.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="374.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="426.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="430.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="434.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="486.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="490.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="494.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="546.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="550.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="554.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="606.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="610.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,12060 > > ================================================================= > ==3103498==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88d738 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1896:21 > #9 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #10 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #11 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #12 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #13 0x3377245 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 0x2ad117e 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 0x286397c 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 0x187a34a 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 0x17c612e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f16eb9b8f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_request < Computing for 0<->600 < for tls-type sotl_request < Computing for 0<->1200 < for tls-type sotl_request < Computing for 0<->1800 < for tls-type sotl_request < Computing for 600<->0 < for tls-type sotl_request < Computing for 600<->600 < for tls-type sotl_request < Computing for 600<->1200 < for tls-type sotl_request < Computing for 600<->1800 < for tls-type sotl_request < Computing for 1200<->0 < for tls-type sotl_request < Computing for 1200<->600 < for tls-type sotl_request < Computing for 1200<->1200 < for tls-type sotl_request < Computing for 1200<->1800 < for tls-type sotl_request < Computing for 1800<->0 < for tls-type sotl_request < Computing for 1800<->600 < for tls-type sotl_request < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="549" inserted="453" running="392" waiting="11"/> 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 count="61" routeLength="2041.90" speed="9.67" duration="220.82" waitingTime="59.70" timeLoss="73.61" departDelay="1.39" departDelayWaiting="-1.00" totalTravelTime="13470.00" totalDepartDelay="85.00"/> ---------- Differences in tls_state ---------- 6,1118c6,362 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="79.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="83.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="87.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="92.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="96.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="100.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="105.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="109.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="113.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="118.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="122.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="126.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="131.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="135.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="139.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="144.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="148.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="152.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="157.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="161.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="165.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="170.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="174.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="178.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="183.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="187.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,1373 > > ================================================================= > ==3103496==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 288 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c250c0 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 0x1c24f3d 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 0x1c24cbc 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 0x1c5d8a8 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 0x1c5d251 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 0x1c20549 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 0x2a9445f in MSSOTLE2Sensors::buildCountSensorForLane(MSLane*, NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLE2Sensors.cpp:163:23 > #8 0x2a927dd 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 0x286efe0 in MSSOTLTrafficLightLogic::init(NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLTrafficLightLogic.cpp:164:33 > #10 0x188068d 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 0x17c612e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #12 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe882b0df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 288 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2aae1d0 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 0x2aae0fd 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 0x2aade7c 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 0x2aacaa8 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 0x2aac3f1 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 0x2aa6ca9 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 0x2a966b5 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="690" inserted="484" running="198" waiting="93"/> 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 count="286" routeLength="2041.90" speed="8.60" duration="244.24" waitingTime="85.71" timeLoss="96.78" departDelay="4.68" departDelayWaiting="-1.00" totalTravelTime="69852.00" totalDepartDelay="1340.00"/> ---------- Differences in tls_state ---------- 63,92c63,89 < <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,350 > > ================================================================= > ==3103432==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2ebd4f3 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7fe0ca7c6f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 11136 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c49c10 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 0x2c49b3d 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 0x2c497ec 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 0x2c4f9d2 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 0x2c4f3e3 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 0x2c3c536 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 0x2c38435 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf8844a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #11 0xe7cbd2 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type static < Computing for 0<->600 < for tls-type static < Computing for 0<->1200 < for tls-type static < Computing for 0<->1800 < for tls-type static < Computing for 600<->0 < for tls-type static < Computing for 600<->600 < for tls-type static < Computing for 600<->1200 < for tls-type static < Computing for 600<->1800 < for tls-type static < Computing for 1200<->0 < for tls-type static < Computing for 1200<->600 < for tls-type static < Computing for 1200<->1200 < for tls-type static < Computing for 1200<->1800 < for tls-type static < Computing for 1800<->0 < for tls-type static < Computing for 1800<->600 < for tls-type static < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="1227" inserted="1226" running="177" waiting="1"/> 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 count="1049" routeLength="2041.90" speed="6.67" duration="334.88" waitingTime="168.41" timeLoss="187.43" departDelay="51.41" departDelayWaiting="-1.00" totalTravelTime="351284.00" totalDepartDelay="53924.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,88227 > > ================================================================= > ==3103534==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 88 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x7fa91f4fd9ec in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xad9ec) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x63d996 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, s td::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x63d2c9 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::emplace_back<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:121:4 > #6 0x5b9a71 in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9 > #7 0x2ab5b00 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 0x2899e38 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 0x1879622 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 0x17c612e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #11 0x309b228 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7fa91f96df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x63d996 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, s td::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type swarm < Computing for 0<->600 < for tls-type swarm < Computing for 0<->1200 < for tls-type swarm < Computing for 0<->1800 < for tls-type swarm < Computing for 600<->0 < for tls-type swarm < Computing for 600<->600 < for tls-type swarm < Computing for 600<->1200 < for tls-type swarm < Computing for 600<->1800 < for tls-type swarm < Computing for 1200<->0 < for tls-type swarm < Computing for 1200<->600 < for tls-type swarm < Computing for 1200<->1200 < for tls-type swarm < Computing for 1200<->1800 < for tls-type swarm < Computing for 1800<->0 < for tls-type swarm < Computing for 1800<->600 < for tls-type swarm < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="959" inserted="954" running="150" waiting="5"/> 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 count="804" routeLength="2041.90" speed="8.85" duration="251.95" waitingTime="96.11" timeLoss="104.52" departDelay="48.67" departDelayWaiting="-1.00" totalTravelTime="202565.00" totalDepartDelay="39131.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>