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 > > ================================================================= > ==1176368==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 864 byte(s) in 1 object(s) allocated from: > #0 0x61e375d7b4f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x61e3763e0dd2 in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:24 > #2 0x61e3763d5d80 in RONetHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:88:13 > #3 0x61e376a0f128 in GenericSAXHandler::startElement(char16_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 0x7d31493e63b6 in xercesc_3_2::SAX2XMLReaderImpl::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 0x7d31493b7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #6 0x7d31493b822d in xercesc_3_2::WFXMLScanner::scanContent() (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b822d) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #7 0x7d31493b8557 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 0x7d31493e0d42 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 0x61e376a44f42 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 0x61e376cebdb1 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 0x61e376219c36 in ROLoader::loadNet(RONet&, ROAbstractEdgeBuilder&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:122:10 > #12 0x61e375d7dec4 in initNet(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:80:12 > #13 0x61e375d8c1c2 in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:258:9 > #14 0x7d314642a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #15 0x7d314642a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #16 0x61e375ca2084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdc5084) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > > Indirect leak of 20 byte(s) in 1 object(s) allocated from: > #0 0x61e375d7b4f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x61e37671075e 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 0x61e3760d02ac 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 0x61e37619b43c 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 0x61e3763e178b 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 > > ================================================================= > ==1176372==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 864 byte(s) in 1 object(s) allocated from: > #0 0x6351029f04f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x635103055dd2 in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:24 > #2 0x63510304ad80 in RONetHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:88:13 > #3 0x635103684128 in GenericSAXHandler::startElement(char16_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 0x7a2e34fe63b6 in xercesc_3_2::SAX2XMLReaderImpl::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 0x7a2e34fb7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #6 0x7a2e34fb822d in xercesc_3_2::WFXMLScanner::scanContent() (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b822d) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #7 0x7a2e34fb8557 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 0x7a2e34fe0d42 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 0x6351036b9f42 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 0x635103960db1 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 0x635102e8ec36 in ROLoader::loadNet(RONet&, ROAbstractEdgeBuilder&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:122:10 > #12 0x6351029f2ec4 in initNet(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:80:12 > #13 0x635102a011c2 in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:258:9 > #14 0x7a2e3202a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #15 0x7a2e3202a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #16 0x635102917084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdc5084) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > > Indirect leak of 20 byte(s) in 1 object(s) allocated from: > #0 0x6351029f04f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x63510338575e 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 0x635102d452ac 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 0x635102e1043c 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 0x63510305678b 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 > > ================================================================= > ==1176377==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 864 byte(s) in 1 object(s) allocated from: > #0 0x5ac76c4b54f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x5ac76cb1add2 in RONetHandler::parseConnection(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:348:24 > #2 0x5ac76cb0fd80 in RONetHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RONetHandler.cpp:88:13 > #3 0x5ac76d149128 in GenericSAXHandler::startElement(char16_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 0x7b03979e63b6 in xercesc_3_2::SAX2XMLReaderImpl::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 0x7b03979b7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #6 0x7b03979b822d in xercesc_3_2::WFXMLScanner::scanContent() (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b822d) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #7 0x7b03979b8557 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 0x7b03979e0d42 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 0x5ac76d17ef42 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 0x5ac76d425db1 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 0x5ac76c953c36 in ROLoader::loadNet(RONet&, ROAbstractEdgeBuilder&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:122:10 > #12 0x5ac76c4b7ec4 in initNet(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:80:12 > #13 0x5ac76c4c61c2 in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:258:9 > #14 0x7b0394a2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #15 0x7b0394a2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #16 0x5ac76c3dc084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdc5084) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > > Indirect leak of 20 byte(s) in 1 object(s) allocated from: > #0 0x5ac76c4b54f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x5ac76ce4a75e 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 0x5ac76c80a2ac 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 0x5ac76c8d543c 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 0x5ac76cb1b78b 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 > > ================================================================= > ==1175602==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 496 byte(s) in 2 object(s) allocated from: > #0 0x61679eab64f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x61679f2767f8 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 0x61679f208f94 in RORouteHandler::addRide(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RORouteHandler.cpp:1121:5 > #3 0x61679f561ec8 in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:192:13 > #4 0x61679f1bff31 in RORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RORouteHandler.cpp:238:27 > #5 0x61679f74a128 in GenericSAXHandler::startElement(char16_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 0x7221a93e63b6 in xercesc_3_2::SAX2XMLReaderImpl::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 0x7221a93b7511 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b7511) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #8 0x7221a93b80cd in xercesc_3_2::WFXMLScanner::scanNext(xercesc_3_2::XMLPScanToken&) (/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1b80cd) (BuildId: 00c66a49d1bfc9237096cfb0829bac6c9c2c8e81) > #9 0x61679f782b13 in SUMOSAXReader::parseNext() /home/delphi/clangDebug/sumo/src/utils/xml/SUMOSAXReader.cpp:158:25 > #10 0x61679f57b19b in SUMORouteLoader::loadUntil(long long) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteLoader.cpp:58:24 > #11 0x61679f57c2ff in SUMORouteLoaderControl::loadNext(long long) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteLoaderControl.cpp:72:61 > #12 0x61679ef5a036 in ROLoader::openRoutes(RONet&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:176:19 > #13 0x61679eabb3db in computeRoutes(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:97:12 > #14 0x61679eac725b in main /home/delphi/clangDebug/sumo/src/duarouter/duarouter_main.cpp:261:13 > #15 0x7221a622a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #16 0x7221a622a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #17 0x61679e9dd084 in _start (/home/delphi/clangDebug/sumo/bin/duarouterD+0xdc5084) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > > Indirect leak of 384 byte(s) in 2 object(s) allocated from: > #0 0x61679eab64f1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/duarouterD+0xe9e4f1) (BuildId: 23d738a206f712219e5ed1d303fc9dc668ab1690) > #1 0x61679f276aba 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 0x61679f208f94 in RORouteHandler::addRide(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/router/RORouteHandler.cpp:1121:5 > #3 0x61679f561ec8 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