texttest -a jtrrouter -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clangD.18Jun070617.2403582 -g
texttest -a jtrrouter -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ---------- 2c2,71 < Warning: Repaired route of vehicle 'type2.0'. --- > ================================================================= > ==2445337==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x5040000564c0 at pc 0x61d858f57d74 bp 0x7ffd4bebf470 sp 0x7ffd4bebf468 > READ of size 8 at 0x5040000564c0 thread T0 > #0 0x61d858f57d73 in RORouteDef::repairCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&, std::vector<ROEdge const*, std::allocator<ROEdge const*>>, std::vector<ROEdge const*, std::allocator<ROEdge const*>>&, bool) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:330:41 > #1 0x61d858f48403 in RORouteDef::preComputeCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:120:13 > #2 0x61d858f444f2 in RORouteDef::buildCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:71:9 > #3 0x61d85905b9e8 in ROVehicle::computeRoute(RouterProvider<ROEdge, ROLane, RONode, ROVehicle> const&, bool, MsgHandler*) /home/delphi/clangDebug/sumo/src/router/ROVehicle.cpp:135:50 > #4 0x61d858d9f322 in RONet::saveAndRemoveRoutesUntil(OptionsCont&, RouterProvider<ROEdge, ROLane, RONode, ROVehicle> const&, long long) /home/delphi/clangDebug/sumo/src/router/RONet.cpp:796:31 > #5 0x61d858d5fe69 in ROLoader::processRoutes(long long, long long, long long, RONet&, RouterProvider<ROEdge, ROLane, RONode, ROVehicle> const&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:214:24 > #6 0x61d858bab3f5 in computeRoutes(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/jtrrouter/jtrrouter_main.cpp:170:12 > #7 0x61d858bad525 in main /home/delphi/clangDebug/sumo/src/jtrrouter/jtrrouter_main.cpp:212:13 > #8 0x78e5f162a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #9 0x78e5f162a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #10 0x61d858ac9c04 in _start (/home/delphi/clangDebug/sumo/bin/jtrrouterD+0xb9ac04) (BuildId: b7fd620cbb6d1ad84b9fd752c3d202f1a6cce364) > > 0x5040000564c0 is located 0 bytes after 48-byte region [0x504000056490,0x5040000564c0) > allocated by thread T0 here: > #0 0x61d858ba3071 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/jtrrouterD+0xc74071) (BuildId: b7fd620cbb6d1ad84b9fd752c3d202f1a6cce364) > #1 0x61d85907a541 in std::__new_allocator<ROVehicle::Mandatory>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/new_allocator.h:151:27 > #2 0x61d859079d29 in std::allocator_traits<std::allocator<ROVehicle::Mandatory>>::allocate(std::allocator<ROVehicle::Mandatory>&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/alloc_traits.h:478:20 > #3 0x61d859079d29 in std::_Vector_base<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_vector.h:380:20 > #4 0x61d859078b84 in void std::vector<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::_M_realloc_append<ROVehicle::Mandatory>(ROVehicle::Mandatory&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/vector.tcc:596:33 > #5 0x61d85907869b in ROVehicle::Mandatory& std::vector<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::emplace_back<ROVehicle::Mandatory>(ROVehicle::Mandatory&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/vector.tcc:123:4 > #6 0x61d859070b44 in std::vector<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::push_back(ROVehicle::Mandatory&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_vector.h:1301:9 > #7 0x61d859061e4e in ROVehicle::getMandatoryEdges(ROEdge const*, ROEdge const*) const /home/delphi/clangDebug/sumo/src/router/ROVehicle.cpp:245:19 > #8 0x61d858f51664 in RORouteDef::repairCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&, std::vector<ROEdge const*, std::allocator<ROEdge const*>>, std::vector<ROEdge const*, std::allocator<ROEdge const*>>&, bool) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:222:59 > #9 0x61d858f48403 in RORouteDef::preComputeCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:120:13 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1d0 < Success. ---------- Differences in routes ---------- 2a3,14 > <!-- generated on 2026-06-18T07:27:54.568867+01:00 by Eclipse SUMO jtrrouter v1_27_0+0246-77aedaaf8e3 > This data file and the accompanying materials > are made available under the terms of the Eclipse Public License v2.0 > which accompanies this distribution, and is available at > http://www.eclipse.org/legal/epl-v20.html > This file may also be made available under the following Secondary > Licenses when the conditions for such availability set forth in the Eclipse > Public License 2.0 are satisfied: GNU General Public License, version 2 > or later which is available at > https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html > SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later > <jtrrouterConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/jtrrouterConfiguration.xsd"> 4,14c16,36 < <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> < <vehicle id="type1.0" depart="0.00" color="yellow"> < <route edges="2/1to2/2 2/2to3/2"/> < </vehicle> < <vehicle id="type2.0" depart="0.00" color="yellow"> < <route edges="2/1to2/2 2/2to3/2 3/2to3/3 3/3to2/3 2/3to1/3"/> < </vehicle> < <vehicle id="type3.0" depart="0.00" color="yellow"> < <route edges="2/1to2/2 2/2to3/2 3/2to3/1 3/1to3/2 3/2to4/2 4/2to3/2 3/2to2/2 2/2to2/3 2/3to1/3"/> < </vehicle> < </routes> --- > <input> > <net-file value="input_net.net.xml"/> > <route-files value="input_flows.flows.xml"/> > <turn-ratio-files value="input_turns.turns.xml"/> <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 1a2,71 > ================================================================= > ==2445313==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x504000028680 at pc 0x60b67da6ed74 bp 0x7ffc920b1cb0 sp 0x7ffc920b1ca8 > READ of size 8 at 0x504000028680 thread T0 > #0 0x60b67da6ed73 in RORouteDef::repairCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&, std::vector<ROEdge const*, std::allocator<ROEdge const*>>, std::vector<ROEdge const*, std::allocator<ROEdge const*>>&, bool) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:330:41 > #1 0x60b67da5f403 in RORouteDef::preComputeCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:120:13 > #2 0x60b67da5b4f2 in RORouteDef::buildCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:71:9 > #3 0x60b67db729e8 in ROVehicle::computeRoute(RouterProvider<ROEdge, ROLane, RONode, ROVehicle> const&, bool, MsgHandler*) /home/delphi/clangDebug/sumo/src/router/ROVehicle.cpp:135:50 > #4 0x60b67d8b6322 in RONet::saveAndRemoveRoutesUntil(OptionsCont&, RouterProvider<ROEdge, ROLane, RONode, ROVehicle> const&, long long) /home/delphi/clangDebug/sumo/src/router/RONet.cpp:796:31 > #5 0x60b67d876e69 in ROLoader::processRoutes(long long, long long, long long, RONet&, RouterProvider<ROEdge, ROLane, RONode, ROVehicle> const&) /home/delphi/clangDebug/sumo/src/router/ROLoader.cpp:214:24 > #6 0x60b67d6c23f5 in computeRoutes(RONet&, ROLoader&, OptionsCont&) /home/delphi/clangDebug/sumo/src/jtrrouter/jtrrouter_main.cpp:170:12 > #7 0x60b67d6c4525 in main /home/delphi/clangDebug/sumo/src/jtrrouter/jtrrouter_main.cpp:212:13 > #8 0x704b9aa2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #9 0x704b9aa2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #10 0x60b67d5e0c04 in _start (/home/delphi/clangDebug/sumo/bin/jtrrouterD+0xb9ac04) (BuildId: b7fd620cbb6d1ad84b9fd752c3d202f1a6cce364) > > 0x504000028680 is located 0 bytes after 48-byte region [0x504000028650,0x504000028680) > allocated by thread T0 here: > #0 0x60b67d6ba071 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/jtrrouterD+0xc74071) (BuildId: b7fd620cbb6d1ad84b9fd752c3d202f1a6cce364) > #1 0x60b67db91541 in std::__new_allocator<ROVehicle::Mandatory>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/new_allocator.h:151:27 > #2 0x60b67db90d29 in std::allocator_traits<std::allocator<ROVehicle::Mandatory>>::allocate(std::allocator<ROVehicle::Mandatory>&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/alloc_traits.h:478:20 > #3 0x60b67db90d29 in std::_Vector_base<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_vector.h:380:20 > #4 0x60b67db8fb84 in void std::vector<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::_M_realloc_append<ROVehicle::Mandatory>(ROVehicle::Mandatory&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/vector.tcc:596:33 > #5 0x60b67db8f69b in ROVehicle::Mandatory& std::vector<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::emplace_back<ROVehicle::Mandatory>(ROVehicle::Mandatory&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/vector.tcc:123:4 > #6 0x60b67db87b44 in std::vector<ROVehicle::Mandatory, std::allocator<ROVehicle::Mandatory>>::push_back(ROVehicle::Mandatory&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_vector.h:1301:9 > #7 0x60b67db78e4e in ROVehicle::getMandatoryEdges(ROEdge const*, ROEdge const*) const /home/delphi/clangDebug/sumo/src/router/ROVehicle.cpp:245:19 > #8 0x60b67da68664 in RORouteDef::repairCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&, std::vector<ROEdge const*, std::allocator<ROEdge const*>>, std::vector<ROEdge const*, std::allocator<ROEdge const*>>&, bool) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:222:59 > #9 0x60b67da5f403 in RORouteDef::preComputeCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:120:13 > #10 0x60b67da5b4f2 in RORouteDef::buildCurrentRoute(SUMOAbstractRouter<ROEdge, ROVehicle>&, long long, ROVehicle const&) const /home/delphi/clangDebug/sumo/src/router/RORouteDef.cpp:71:9 > #11 0x60b67db729e8 in ROVehicle::computeRoute(RouterProvider<ROEdge, ROLane, RONode, ROVehicle> const&, bool, MsgHandler*) /home/delphi/clangDebug/sumo/src/router/ROVehicle.cpp:135:50 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1d0 < Success. ---------- Differences in routes ---------- 2a3,14 > <!-- generated on 2026-06-18T07:27:54.430754+01:00 by Eclipse SUMO jtrrouter v1_27_0+0246-77aedaaf8e3 > This data file and the accompanying materials > are made available under the terms of the Eclipse Public License v2.0 > which accompanies this distribution, and is available at > http://www.eclipse.org/legal/epl-v20.html > This file may also be made available under the following Secondary > Licenses when the conditions for such availability set forth in the Eclipse > Public License 2.0 are satisfied: GNU General Public License, version 2 > or later which is available at > https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html > SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later > <jtrrouterConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/jtrrouterConfiguration.xsd"> 4,35c16,32 < <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> < <vehicle id="0.0" type="foo" depart="0.00"> < <route edges="beg beg2left left left2end end rend"/> < </vehicle> < <vehicle id="0.1" type="foo" depart="10.00"> < <route edges="beg middle end rend"/> < </vehicle> < <vehicle id="0.2" type="foo" depart="20.00"> < <route edges="beg middle end rend"/> < </vehicle> < <vehicle id="0.3" type="foo" depart="30.00"> < <route edges="beg beg2left left left2end end rend"/> < </vehicle> < <vehicle id="0.4" type="foo" depart="40.00"> < <route edges="beg middle end rend"/> < </vehicle> <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1