texttest -a netconvert -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clang3_64D.31May070224.3790046 -g
texttest -a netconvert -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ----------
0a1,66
> =================================================================
> ==4176554==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x5030000d7e43 at pc 0x5c40f063e41e bp 0x7ffccc829cb0 sp 0x7ffccc829ca8
> READ of size 1 at 0x5030000d7e43 thread T0
> #0 0x5c40f063e41d 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 0x5c40f0628a3b 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 0x5c40f069abb8 in NBLoadedSUMOTLDef::patchIfCrossingsAdded() /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:365:17
> #3 0x5c40f0691816 in NBLoadedSUMOTLDef::myCompute(int) /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:88:5
> #4 0x5c40f0508362 in NBTrafficLightDefinition::compute(OptionsCont const&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightDefinition.cpp:127:32
> #5 0x5c40f05590a1 in NBTrafficLightLogicCont::computeSingleLogic(OptionsCont&, NBTrafficLightDefinition*) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:246:39
> #6 0x5c40f055797e in NBTrafficLightLogicCont::computeLogics(OptionsCont&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:230:13
> #7 0x5c40f07015fc 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:597:45
> #8 0x5c40ef643d31 in main /home/delphi/clangDebug/sumo/src/netconvert_main.cpp:137:12
> #9 0x7a4fd702a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
> #10 0x7a4fd702a28a in __libc_start_main csu/../csu/libc-start.c:360:3
> #11 0x5c40ef562984 in _start (/home/delphi/clangDebug/sumo/bin/netconvertD+0x1174984) (BuildId: 9f44112deae743f252bd3c952c47348528fcc462)
>
> 0x5030000d7e43 is located 0 bytes after 19-byte region [0x5030000d7e30,0x5030000d7e43)
> allocated by thread T0 here:
> #0 0x5c40ef63bdf1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x124ddf1) (BuildId: 9f44112deae743f252bd3c952c47348528fcc462)
> #1 0x5c40ef7c546e 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 0x5c40f063b43d 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 0x5c40f0628a3b 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 0x5c40f069abb8 in NBLoadedSUMOTLDef::patchIfCrossingsAdded() /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:365:17
> #5 0x5c40f0691816 in NBLoadedSUMOTLDef::myCompute(int) /home/delphi/clangDebug/sumo/src/netbuild/NBLoadedSUMOTLDef.cpp:88:5
> #6 0x5c40f0508362 in NBTrafficLightDefinition::compute(OptionsCont const&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightDefinition.cpp:127:32
> #7 0x5c40f05590a1 in NBTrafficLightLogicCont::computeSingleLogic(OptionsCont&, NBTrafficLightDefinition*) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:246:39
> #8 0x5c40f055797e in NBTrafficLightLogicCont::computeLogics(OptionsCont&) /home/delphi/clangDebug/sumo/src/netbuild/NBTrafficLightLogicCont.cpp:230:13
> #9 0x5c40f07015fc 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:597:45
> #10 0x5c40ef643d31 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 > > ================================================================= > ==4170628==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 5832 byte(s) in 9 object(s) allocated from: > #0 0x5c6b7ec15df1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x124ddf1) (BuildId: 9f44112deae743f252bd3c952c47348528fcc462) > #1 0x5c6b7f18f269 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:801:27 > #2 0x5c6b7f16b8d6 in NIImporter_OpenStreetMap::load(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:268:9 > #3 0x5c6b7f161f2b in NIImporter_OpenStreetMap::loadNetwork(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:110:14 > #4 0x5c6b7ef744bc in NILoader::load(OptionsCont&) /home/delphi/clangDebug/sumo/src/netimport/NILoader.cpp:90:5 > #5 0x5c6b7ec1d6e2 in main /home/delphi/clangDebug/sumo/src/netconvert_main.cpp:130:12 > #6 0x723036e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #7 0x723036e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #8 0x5c6b7eb3c984 in _start (/home/delphi/clangDebug/sumo/bin/netconvertD+0x1174984) (BuildId: 9f44112deae743f252bd3c952c47348528fcc462) > > Direct leak of 3888 byte(s) in 6 object(s) allocated from: > #0 0x5c6b7ec15df1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x124ddf1) (BuildId: 9f44112deae743f252bd3c952c47348528fcc462) > #1 0x5c6b7f192ebd 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:860:27 > #2 0x5c6b7f16b8d6 in NIImporter_OpenStreetMap::load(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:268:9 > #3 0x5c6b7f161f2b in NIImporter_OpenStreetMap::loadNetwork(OptionsCont const&, NBNetBuilder&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenStreetMap.cpp:110:14 > #4 0x5c6b7ef744bc in NILoader::load(OptionsCont&) /home/delphi/clangDebug/sumo/src/netimport/NILoader.cpp:90:5 > #5 0x5c6b7ec1d6e2 in main /home/delphi/clangDebug/sumo/src/netconvert_main.cpp:130:12 > #6 0x723036e2a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 > #7 0x723036e2a28a in __libc_start_main csu/../csu/libc-start.c:360:3 > #8 0x5c6b7eb3c984 in _start (/home/delphi/clangDebug/sumo/bin/netconvertD+0x1174984) (BuildId: 9f44112deae743f252bd3c952c47348528fcc462) > > Indirect leak of 3080 byte(s) in 11 object(s) allocated from: > #0 0x5c6b7ec15df1 in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x124ddf1) (BuildId: 9f44112deae743f252bd3c952c47348528fcc462) > #1 0x5c6b7f5e6321 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