texttest -a netconvert -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clangD.31Oct071122.3880252 -g
texttest -a netconvert -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ----------
0a1,66
> =================================================================
> ==3658819==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x50300010e203 at pc 0x5e601f5fd47e bp 0x7ffe8832fcd0 sp 0x7ffe8832fcc8
> READ of size 1 at 0x50300010e203 thread T0
> #0 0x5e601f5fd47d in NBOwnTLDef::patchStateForCrossings(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<NBNode::Crossing*, std::allocator<NBNode::Crossing*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&) /home/delphi/clangDebug/sumo/src/netbuild/NBOwnTLDef.cpp:993:13
> #1 0x5e601f5e7a9b in NBOwnTLDef::addPedestrianPhases(NBTrafficLightLogic*, long long, long long, long long, long long, long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<NBNode::Crossing*, std::allocator<NBNode::Crossing*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&) /home/delphi/clangDebug/sumo/src/netbuild/NBOwnTLDef.cpp:906:13
> #2 0x5e601f659df8 in NBLoadedSUMOTLDef::patchIfCrossingsAdded() /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:365:17
> #3 0x5e601f650a56 in NBLoadedSUMOTLDef::myCompute(int) /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:88:5
> #4 0x5e601f4c4382 in NBTrafficLightDefinition::compute(OptionsCont const&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightDefinition.cpp:127:32
> #5 0x5e601f5150c1 in NBTrafficLightLogicCont::computeSingleLogic(OptionsCont&, NBTrafficLightDefinition*) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:246:39
> #6 0x5e601f51399e in NBTrafficLightLogicCont::computeLogics(OptionsCont&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:230:13
> #7 0x5e601f6c1432 in NBNetBuilder::compute(OptionsCont&, 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&, bool) /home/delphi/clangDebug/sumo/src/netbuild/NBNetBuilder.cpp:607:45
> #8 0x5e601e529841 in main /home/delphi/clangDebug/sumo/src/netconvert_main.cpp:137:12
> #9 0x7982a482a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
> #10 0x7982a482a28a in __libc_start_main csu/../csu/libc-start.c:360:3
> #11 0x5e601e448454 in _start (/home/delphi/clangDebug/sumo/bin/netconvertD+0x150a454) (BuildId: 265b1c8361e25a8961dfc8afe5fc98e22d612889)
>
> 0x50300010e203 is located 0 bytes after 19-byte region [0x50300010e1f0,0x50300010e203)
> allocated by thread T0 here:
> #0 0x5e601e5218c1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x15e38c1) (BuildId: 265b1c8361e25a8961dfc8afe5fc98e22d612889)
> #1 0x5e601e72baae 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 0x5e601f5fa49d in NBOwnTLDef::patchStateForCrossings(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<NBNode::Crossing*, std::allocator<NBNode::Crossing*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&) /home/delphi/clangDebug/sumo/src/netbuild/NBOwnTLDef.cpp:952:26
> #3 0x5e601f5e7a9b in NBOwnTLDef::addPedestrianPhases(NBTrafficLightLogic*, long long, long long, long long, long long, long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<NBNode::Crossing*, std::allocator<NBNode::Crossing*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&, std::vector<NBEdge*, std::allocator<NBEdge*>> const&) /home/delphi/clangDebug/sumo/src/netbuild/NBOwnTLDef.cpp:906:13
> #4 0x5e601f659df8 in NBLoadedSUMOTLDef::patchIfCrossingsAdded() /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:365:17
> #5 0x5e601f650a56 in NBLoadedSUMOTLDef::myCompute(int) /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:88:5
> #6 0x5e601f4c4382 in NBTrafficLightDefinition::compute(OptionsCont const&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightDefinition.cpp:127:32
> #7 0x5e601f5150c1 in NBTrafficLightLogicCont::computeSingleLogic(OptionsCont&, NBTrafficLightDefinition*) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:246:39
> #8 0x5e601f51399e in NBTrafficLightLogicCont::computeLogics(OptionsCont&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:230:13
> #9 0x5e601f6c1432 in NBNetBuilder::compute(OptionsCont&, 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&, bool) /home/delphi/clangDebug/sumo/src/netbuild/NBNetBuilder.cpp:607:45
> #10 0x5e601e529841 in main /home/delphi/clangDebug/sumo/src/netconvert_main.cpp:137:12
<truncated after showing first 30 lines>
---------- Differences in output ----------
1d0
< Success.
---------- New result in exitcode ----------
1
---------- Missing result in net ----------
<?xml version="1.0" encoding="UTF-8"?>
<net version="1.20" junctionCornerDetail="5" limitTurnSpeed="5.50" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd">
<location netOffset="100.00,100.00" convBoundary="0.00,0.00,200.00,200.00" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>
<edge id=":C_0" function="internal">
<lane id=":C_0_0" index="0" allow="passenger" speed="7.48" length="12.26" shape="95.20,112.40 94.72,109.08 93.30,106.70 90.93,105.28 87.60,104.80"/>
</edge>
<edge id=":C_1" function="internal">
<lane id=":C_1_0" index="0" allow="passenger" speed="13.89" length="24.80" shape="95.20,112.40 95.20,87.60"/>
<lane id=":C_1_1" index="1" allow="passenger" speed="13.89" length="24.80" shape="98.40,112.40 98.40,87.60"/>
</edge>
<edge id=":C_3" function="internal">
<lane id=":C_3_0" index="0" allow="passenger" speed="9.96" length="5.01" shape="98.40,112.40 99.11,107.44"/>
</edge>
<edge id=":C_16" function="internal">
<lane id=":C_16_0" index="0" allow="passenger" speed="9.96" length="17.56" shape="99.11,107.44 99.28,106.28 101.90,101.90 106.28,99.28 112.40,98.40"/>
</edge>
<edge id=":C_4" function="internal">
<lane id=":C_4_0" index="0" allow="passenger" speed="7.48" length="12.26" shape="112.40,104.80 109.08,105.28 106.70,106.70 105.28,109.07 104.80,112.40"/>
</edge>
<edge id=":C_5" function="internal">
<lane id=":C_5_0" index="0" allow="passenger" speed="13.89" length="24.80" shape="112.40,104.80 87.60,104.80"/>
<lane id=":C_5_1" index="1" allow="passenger" speed="13.89" length="24.80" shape="112.40,101.60 87.60,101.60"/>
</edge>
<edge id=":C_7" function="internal">
<lane id=":C_7_0" index="0" allow="passenger" speed="9.96" length="5.01" shape="112.40,101.60 107.44,100.89"/>
</edge>
<truncated after showing first 30 lines>
---------- Differences in errors ---------- 8a9,387 > > ================================================================= > ==3655036==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 6192 byte(s) in 9 object(s) allocated from: > #0 0x599366ea58c1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x15e38c1) (BuildId: 265b1c8361e25a8961dfc8afe5fc98e22d612889) > #1 0x5993674d43f9 in NIImporter_OpenStreetMap::insertEdge(NIImporter_OpenStreetMap::Edge*, int, NBNode*, NBNode*, std::vector<long long, std::allocator<long long>> const&, NBNetBuilder&, NBNode const*, NBNode const*) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:806:27 > #2 0x5993674b0a7c in NIImporter_OpenStreetMap::load(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:270:9 > #3 0x5993674a707b in NIImporter_OpenStreetMap::loadNetwork(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:110:14 > #4 0x5993672b529c in NILoader::load(OptionsCont&) /home/delphi/clangDebug/sumo/src/netimport/NILoader.cpp:90:5 > #5 0x599366ead1f2 in main /home/delphi/clangDebug/sumo/src/netconvert_main.cpp:130:12 > #6 0x7e4eeca2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #7 0x7e4eeca2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #8 0x599366dcc454 in _start (/home/delphi/clangDebug/sumo/bin/netconvertD+0x150a454) (BuildId: 265b1c8361e25a8961dfc8afe5fc98e22d612889) > > Direct leak of 4128 byte(s) in 6 object(s) allocated from: > #0 0x599366ea58c1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x15e38c1) (BuildId: 265b1c8361e25a8961dfc8afe5fc98e22d612889) > #1 0x5993674d804d in NIImporter_OpenStreetMap::insertEdge(NIImporter_OpenStreetMap::Edge*, int, NBNode*, NBNode*, std::vector<long long, std::allocator<long long>> const&, NBNetBuilder&, NBNode const*, NBNode const*) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:865:27 > #2 0x5993674b0a7c in NIImporter_OpenStreetMap::load(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:270:9 > #3 0x5993674a707b in NIImporter_OpenStreetMap::loadNetwork(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:110:14 > #4 0x5993672b529c in NILoader::load(OptionsCont&) /home/delphi/clangDebug/sumo/src/netimport/NILoader.cpp:90:5 > #5 0x599366ead1f2 in main /home/delphi/clangDebug/sumo/src/netconvert_main.cpp:130:12 > #6 0x7e4eeca2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #7 0x7e4eeca2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #8 0x599366dcc454 in _start (/home/delphi/clangDebug/sumo/bin/netconvertD+0x150a454) (BuildId: 265b1c8361e25a8961dfc8afe5fc98e22d612889) > > Indirect leak of 3080 byte(s) in 11 object(s) allocated from: > #0 0x599366ea58c1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x15e38c1) (BuildId: 265b1c8361e25a8961dfc8afe5fc98e22d612889) > #1 0x599367935311 in std::__new_allocator<NBEdge::Lane>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/new_allocator.h:151:27 <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1