texttest -a duarouter -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clangD.31Oct071122.3880252 -g
texttest -a duarouter -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ---------- 0a1,46 > > ================================================================= > ==452071==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 864 byte(s) in 1 object(s) allocated from: > #0 0x5940539864f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x594053febdd2 in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:24 > #2 0x594053fe0d80 in RONetHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:88:13 > #3 0x59405461a128 in GenericSAXHandler::startElement(char16_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 0x72392fde63b6 in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e63b6) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #5 0x72392fdb7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #6 0x72392fdb822d in xercesc_3_2::WFXMLScanner::scanContent() (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b822d) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #7 0x72392fdb8557 in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b8557) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #8 0x72392fde0d42 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e0d42) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #9 0x59405464ff42 in SUMOSAXReader::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) /home/delphi/clangDebug/sumo/src/utils/xml/SUMOSAXReader.cpp:118:18 > #10 0x5940548f6db1 in XMLSubSys::runParser(GenericSAXHandler&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, bool, bool) /home/delphi/clangDebug/sumo/src/utils/xml/XMLSubSys.cpp:170:42 > #11 0x594053e24c36 in ROLoader::loadNet(RONet&, ROAbstractEdgeBuilder&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:122:10 > #12 0x594053988ec4 in initNet(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:80:12 > #13 0x5940539971c2 in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:258:9 > #14 0x72392ce2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #15 0x72392ce2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #16 0x5940538ad084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdcd084) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > > Indirect leak of 20 byte(s) in 1 object(s) allocated from: > #0 0x5940539864f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x59405431b75e in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_construct<char*>(char*, char*, std::forward_iterator_tag) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/basic_string.tcc:229:14 > #2 0x594053cdb2ac in Named::Named(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) /home/delphi/clangDebug/sumo/src/utils/common/Named.h:59:36 > #3 0x594053da643c in ROEdge::ROEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, RONode const*, RONode const*, long long) /home/delphi/clangDebug/sumo/src/router/ROEdge.cpp:91:5 > #4 0x594053fec78b in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:28 <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,46 > > ================================================================= > ==452078==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 864 byte(s) in 1 object(s) allocated from: > #0 0x5df8736114f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x5df873c76dd2 in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:24 > #2 0x5df873c6bd80 in RONetHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:88:13 > #3 0x5df8742a5128 in GenericSAXHandler::startElement(char16_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 0x7f9ca25e63b6 in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e63b6) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #5 0x7f9ca25b7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #6 0x7f9ca25b822d in xercesc_3_2::WFXMLScanner::scanContent() (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b822d) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #7 0x7f9ca25b8557 in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b8557) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #8 0x7f9ca25e0d42 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e0d42) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #9 0x5df8742daf42 in SUMOSAXReader::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) /home/delphi/clangDebug/sumo/src/utils/xml/SUMOSAXReader.cpp:118:18 > #10 0x5df874581db1 in XMLSubSys::runParser(GenericSAXHandler&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, bool, bool) /home/delphi/clangDebug/sumo/src/utils/xml/XMLSubSys.cpp:170:42 > #11 0x5df873aafc36 in ROLoader::loadNet(RONet&, ROAbstractEdgeBuilder&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:122:10 > #12 0x5df873613ec4 in initNet(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:80:12 > #13 0x5df8736221c2 in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:258:9 > #14 0x7f9c9f62a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #15 0x7f9c9f62a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #16 0x5df873538084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdcd084) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > > Indirect leak of 20 byte(s) in 1 object(s) allocated from: > #0 0x5df8736114f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x5df873fa675e in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_construct<char*>(char*, char*, std::forward_iterator_tag) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/basic_string.tcc:229:14 > #2 0x5df8739662ac in Named::Named(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) /home/delphi/clangDebug/sumo/src/utils/common/Named.h:59:36 > #3 0x5df873a3143c in ROEdge::ROEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, RONode const*, RONode const*, long long) /home/delphi/clangDebug/sumo/src/router/ROEdge.cpp:91:5 > #4 0x5df873c7778b in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:28 <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,46 > > ================================================================= > ==452087==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 864 byte(s) in 1 object(s) allocated from: > #0 0x57824e1214f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x57824e786dd2 in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:24 > #2 0x57824e77bd80 in RONetHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:88:13 > #3 0x57824edb5128 in GenericSAXHandler::startElement(char16_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 0x7b10a5fe63b6 in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e63b6) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #5 0x7b10a5fb7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #6 0x7b10a5fb822d in xercesc_3_2::WFXMLScanner::scanContent() (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b822d) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #7 0x7b10a5fb8557 in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b8557) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #8 0x7b10a5fe0d42 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e0d42) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #9 0x57824edeaf42 in SUMOSAXReader::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) /home/delphi/clangDebug/sumo/src/utils/xml/SUMOSAXReader.cpp:118:18 > #10 0x57824f091db1 in XMLSubSys::runParser(GenericSAXHandler&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, bool, bool) /home/delphi/clangDebug/sumo/src/utils/xml/XMLSubSys.cpp:170:42 > #11 0x57824e5bfc36 in ROLoader::loadNet(RONet&, ROAbstractEdgeBuilder&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:122:10 > #12 0x57824e123ec4 in initNet(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:80:12 > #13 0x57824e1321c2 in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:258:9 > #14 0x7b10a302a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #15 0x7b10a302a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #16 0x57824e048084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdcd084) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > > Indirect leak of 20 byte(s) in 1 object(s) allocated from: > #0 0x57824e1214f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x57824eab675e in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_construct<char*>(char*, char*, std::forward_iterator_tag) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/basic_string.tcc:229:14 > #2 0x57824e4762ac in Named::Named(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) /home/delphi/clangDebug/sumo/src/utils/common/Named.h:59:36 > #3 0x57824e54143c in ROEdge::ROEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, RONode const*, RONode const*, long long) /home/delphi/clangDebug/sumo/src/router/ROEdge.cpp:91:5 > #4 0x57824e78778b in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:28 <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 1a2,5 > /home/delphi/clangDebug/sumo/src/router/ROPerson.cpp:359:41: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_type' (aka 'unsigned long') > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/router/ROPerson.cpp:359:41 > /home/delphi/clangDebug/sumo/src/router/ROPerson.cpp:359:27: runtime error: implicit conversion from type 'size_type' (aka 'unsigned long') of value 18446744073709551615 (64-bit, unsigned) to type 'const int' changed the value to -1 (32-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/router/ROPerson.cpp:359:27bugs ticket3631_2 ( Last six runs Oct2025 )
---------- Differences in errors ---------- 0a1,71 > > ================================================================= > ==451301==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 496 byte(s) in 2 object(s) allocated from: > #0 0x601980e8a4f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x60198164a7f8 in ROPerson::addRide(std::vector<ROPerson::PlanItem*, std::allocator<ROPerson::PlanItem*>>&, ROEdge const*, ROEdge const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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&) /home/delphi/clangDebug/sumo/src/router/ROPerson.cpp:118:20 > #2 0x6019815dcf94 in RORouteHandler::addRide(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RORouteHandler.cpp:1121:5 > #3 0x601981935ec8 in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:192:13 > #4 0x601981593f31 in RORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RORouteHandler.cpp:238:27 > #5 0x601981b1e128 in GenericSAXHandler::startElement(char16_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 0x78b219fe63b6 in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e63b6) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #7 0x78b219fb7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #8 0x78b219fb80cd in xercesc_3_2::WFXMLScanner::scanNext(xercesc_3_2::XMLPScanToken&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b80cd) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #9 0x601981b56b13 in SUMOSAXReader::parseNext() /home/delphi/clangDebug/sumo/src/utils/xml/SUMOSAXReader.cpp:158:25 > #10 0x60198194f19b in SUMORouteLoader::loadUntil(long long) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteLoader.cpp:58:24 > #11 0x6019819502ff in SUMORouteLoaderControl::loadNext(long long) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteLoaderControl.cpp:72:61 > #12 0x60198132e036 in ROLoader::openRoutes(RONet&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:176:19 > #13 0x601980e8f3db in computeRoutes(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:97:12 > #14 0x601980e9b25b in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:261:13 > #15 0x78b21702a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #16 0x78b21702a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #17 0x601980db1084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdcd084) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > > Indirect leak of 384 byte(s) in 2 object(s) allocated from: > #0 0x601980e8a4f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xea64f1) (BuildId: 30e1546b83c641170eebd961f3b4f0bcdd07cf1c) > #1 0x60198164aaba in ROPerson::addRide(std::vector<ROPerson::PlanItem*, std::allocator<ROPerson::PlanItem*>>&, ROEdge const*, ROEdge const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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&) /home/delphi/clangDebug/sumo/src/router/ROPerson.cpp:119:30 > #2 0x6019815dcf94 in RORouteHandler::addRide(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RORouteHandler.cpp:1121:5 > #3 0x601981935ec8 in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:192:13 <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1