Dear Andres, I tried to replicate the problem using the latest development version. This is what I got: a) build the network without splits first, then run netconvert again with the .net.xml and the splits: works without problems b) build the network with splits: gives an error because the connections in the .tll.xml file are not known (but no crash) c) remove the connections from the .tll.xml file and build the network with splits: gives a warning but builds the network
Please try the latest development version and if you find a crash, tell us the exact steps to reproduce it. regards, Jakob 2016-02-05 21:31 GMT+01:00 Andres Felipe Acosta Gil <[email protected]>: > Dear SUMO community. > > I found a weird behavior in NETCONVERT when trying to split several edges > with destination nodes controlled by traffic lights. The traffic lights > were created with default values provided by NETEDIT. > > The nodes file: > > <nodes> > <location netOffset="0.00,0.00" convBoundary="0.00,0.00,300.00,300.00" > > origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" > projParameter="!"/> > > <node id="n11" x="100.00" y="300.00" type="unregulated"/> > <node id="n12" x="0.00" y="200.00" type="unregulated"/> > <node id="n13" x="100.00" y="200.00" type="traffic_light" tl="n13"/> > <node id="n21" x="200.00" y="300.00" type="unregulated"/> > <node id="n22" x="200.00" y="200.00" type="priority"/> > <node id="n23" x="300.00" y="200.00" type="unregulated"/> > <node id="n31" x="0.00" y="100.00" type="unregulated"/> > <node id="n32" x="100.00" y="100.00" type="priority"/> > <node id="n33" x="100.00" y="0.00" type="unregulated"/> > <node id="n41" x="200.00" y="100.00" type="traffic_light" tl="n41"/> > <node id="n42" x="300.00" y="100.00" type="unregulated"/> > <node id="n43" x="200.00" y="0.00" type="unregulated"/> > </nodes> > > The edges file: > > <edges> > <edge id="11to13" from="n11" to="n13" priority="1" numLanes="1" > speed="13.89"/> > <edge id="13to12" from="n13" to="n12" priority="1" numLanes="1" > speed="13.89"/> > <edge id="13to32" from="n13" to="n32" priority="1" numLanes="1" > speed="13.89"/> > <edge id="22to13" from="n22" to="n13" priority="1" numLanes="1" > speed="13.89"/> > <edge id="22to21" from="n22" to="n21" priority="1" numLanes="1" > speed="13.89"/> > <edge id="23to22" from="n23" to="n22" priority="1" numLanes="1" > speed="13.89"/> > <edge id="31to32" from="n31" to="n32" priority="1" numLanes="1" > speed="13.89"/> > <edge id="32to33" from="n32" to="n33" priority="1" numLanes="1" > speed="13.89"/> > <edge id="32to41" from="n32" to="n41" priority="1" numLanes="1" > speed="13.89"/> > <edge id="41to22" from="n41" to="n22" priority="1" numLanes="1" > speed="13.89"/> > <edge id="41to42" from="n41" to="n42" priority="1" numLanes="1" > speed="13.89"/> > <edge id="43to41" from="n43" to="n41" priority="1" numLanes="1" > speed="13.89"/> > </edges> > > Connections file: > <connections> > <connection from="11to13" to="13to12" fromLane="0" toLane="0"/> > <connection from="11to13" to="13to32" fromLane="0" toLane="0"/> > > <connection from="13to32" to="32to33" fromLane="0" toLane="0"/> > <connection from="13to32" to="32to41" fromLane="0" toLane="0"/> > > <connection from="22to13" to="13to12" fromLane="0" toLane="0"/> > <connection from="22to13" to="13to32" fromLane="0" toLane="0"/> > > <connection from="23to22" to="22to21" fromLane="0" toLane="0"/> > <connection from="23to22" to="22to13" fromLane="0" toLane="0"/> > > <connection from="31to32" to="32to33" fromLane="0" toLane="0"/> > <connection from="31to32" to="32to41" fromLane="0" toLane="0"/> > > <connection from="32to41" to="41to42" fromLane="0" toLane="0"/> > <connection from="32to41" to="41to22" fromLane="0" toLane="0"/> > > <connection from="41to22" to="22to21" fromLane="0" toLane="0"/> > <connection from="41to22" to="22to13" fromLane="0" toLane="0"/> > > <connection from="43to41" to="41to42" fromLane="0" toLane="0"/> > <connection from="43to41" to="41to22" fromLane="0" toLane="0"/> > > </connections> > > Traffic lights file: > <tlLogics> > <tlLogic id="n13" type="static" programID="0" offset="0"> > <phase duration="41" state="GGrr"/> > <phase duration="4" state="yyrr"/> > <phase duration="41" state="rrGG"/> > <phase duration="4" state="rryy"/> > </tlLogic> > <tlLogic id="n41" type="static" programID="0" offset="0"> > <phase duration="41" state="GGrr"/> > <phase duration="4" state="yyrr"/> > <phase duration="41" state="rrGG"/> > <phase duration="4" state="rryy"/> > </tlLogic> > > <connection from="11to13" to="13to12" fromLane="0" toLane="0" tl="n13" > linkIndex="0"/> > <connection from="11to13" to="13to32" fromLane="0" toLane="0" tl="n13" > linkIndex="1"/> > <connection from="22to13" to="13to12" fromLane="0" toLane="0" tl="n13" > linkIndex="2"/> > <connection from="22to13" to="13to32" fromLane="0" toLane="0" tl="n13" > linkIndex="3"/> > <connection from="32to41" to="41to42" fromLane="0" toLane="0" tl="n41" > linkIndex="2"/> > <connection from="32to41" to="41to22" fromLane="0" toLane="0" tl="n41" > linkIndex="3"/> > <connection from="43to41" to="41to42" fromLane="0" toLane="0" tl="n41" > linkIndex="0"/> > <connection from="43to41" to="41to22" fromLane="0" toLane="0" tl="n41" > linkIndex="1"/> > </tlLogics> > > I try to split the edges with the following edges file: > <edges> > <edge from="n22" id="22to13" to="n13"> > <split pos="48.550000"/> > </edge> > <edge from="n32" id="32to41" to="n41"> > <split pos="48.550000"/> > </edge> > </edges> > > I get the error: > Unhandled exception at 0x016E1CF1 in netconvertD.exe: 0xC0000005: Access > violation reading location 0xFEEEFEF2. > > Finally, this is the stack trace: > > > netconvertD.exe!std::_Iterator_base12::_Adopt(const > std::_Container_base12 * _Parent) Line 158 C++ > > netconvertD.exe!std::_Vector_const_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > > > >::_Vector_const_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > >(NBEdge::TLSDisabledConnection * _Parg, const std::_Container_base12 * > _Pvector) Line 47 C++ > > netconvertD.exe!std::_Vector_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > > > >::_Vector_iterator<std::_Vector_val<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > > >(NBEdge::TLSDisabledConnection * _Parg, const std::_Container_base12 * > _Pvector) Line 305 C++ > > netconvertD.exe!std::vector<NBEdge::TLSDisabledConnection,std::allocator<NBEdge::TLSDisabledConnection> > >::end() Line 792 C++ > netconvertD.exe!NBEdge::setControllingTLInformation(const NBConnection & > c, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > > & tlID) Line 1910 C++ > netconvertD.exe!NBLoadedSUMOTLDef::setTLControllingInformation() Line 127 > C++ > > netconvertD.exe!NBTrafficLightLogicCont::setTLControllingInformation(const > NBEdgeCont & ec, const NBNodeCont & nc) Line 287 C++ > netconvertD.exe!NBNetBuilder::compute(OptionsCont & oc, const > std::set<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > & explicitTurnarounds, bool removeElements) Line 375 C++ > netconvertD.exe!main(int argc, char * * argv) Line 140 C++ > > > Thanks in advance! > > -- > Andres Felipe Acosta Gil, MSc student - Software developer > Universidad Nacional de Colombia - MedellĂn > Facultad de Minas > Tel: +57 (4) 4255295 > Institutional e-mail: [email protected] > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
