(copy without attachments)
Hello,
There seem to be some bug in netedit: it fails to show the enclosed net
file. The loading is OK, works without any problems. Both sumo and
sumo-gui run correctly with it. But, if loaded by netedit then it fails
to render the map. Further, when I click to the render window then
netedit crashes on SIGABRT. The error and the backtrace is dumped below.
Is it a problem in the netfile or a bug in netedit? I have enclosed a
diff between this version and version with which netedit works. This is
the smallest set of differences that cause the error that I could identify.
Thank you for your help,
Matej.
Addendum: the error and the trace:
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 18446744073709551614)
>= this->size() (which is 0)
Thread 1 "neteditD" received signal SIGABRT, Aborted.
0x00007ffff4f2c418 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff4f2c418 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff4f2e01a in __GI_abort () at abort.c:89
#2 0x00007ffff586e84d in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff586c6b6 in ?? () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff586c701 in std::terminate() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff586c919 in __cxa_throw () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff58953f7 in std::__throw_out_of_range_fmt(char const*,
...) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x000000000051cb9e in std::vector<Position, std::allocator<Position>
>::_M_range_check (this=0x7fffd1855c98, __n=18446744073709551614) at
/usr/include/c++/5/bits/stl_vector.h:803
#8 0x000000000051b2d5 in std::vector<Position, std::allocator<Position>
>::at (this=0x7fffd1855c98, __n=18446744073709551614) at
/usr/include/c++/5/bits/stl_vector.h:842
#9 0x00000000008089ab in PositionVector::operator[]
(this=0x7fffd1855c90, index=-2) at PositionVector.cpp:176
#10 0x000000000045fd62 in GNELane::drawArrows (this=0x7fffd0d77620) at
GNELane.cpp:121
#11 0x0000000000461ba6 in GNELane::drawGL (this=0x7fffd0d77620, s=...)
at GNELane.cpp:314
#12 0x00000000004557d6 in GNEEdge::drawGL (this=0x7fffd0d772b0, s=...)
at GNEEdge.cpp:158
#13 0x0000000000442064 in RTree<GUIGlObject*, GUIGlObject, float, 2,
GUIVisualizationSettings, float, 8, 4>::Search (this=0x7fffd0914f20,
a_node=0x7fffd012b3e0, a_rect=0x7fffffffcd60,
a_foundCount=@0x7fffffffcd54: 1, c=...) at
../../src/foreign/rtree/RTree.h:1584
#14 0x0000000000441f67 in RTree<GUIGlObject*, GUIGlObject, float, 2,
GUIVisualizationSettings, float, 8, 4>::Search (this=0x7fffd0914f20,
a_node=0x7fffd0b11200, a_rect=0x7fffffffcd60,
a_foundCount=@0x7fffffffcd54: 1, c=...) at
../../src/foreign/rtree/RTree.h:1565
#15 0x0000000000441f67 in RTree<GUIGlObject*, GUIGlObject, float, 2,
GUIVisualizationSettings, float, 8, 4>::Search (this=0x7fffd0914f20,
a_node=0x7fffd10e0e70, a_rect=0x7fffffffcd60,
a_foundCount=@0x7fffffffcd54: 1, c=...) at
../../src/foreign/rtree/RTree.h:1565
#16 0x0000000000441f67 in RTree<GUIGlObject*, GUIGlObject, float, 2,
GUIVisualizationSettings, float, 8, 4>::Search (this=0x7fffd0914f20,
a_node=0x7fffd08670b0, a_rect=0x7fffffffcd60,
a_foundCount=@0x7fffffffcd54: 1, c=...) at
../../src/foreign/rtree/RTree.h:1565
#17 0x0000000000441f67 in RTree<GUIGlObject*, GUIGlObject, float, 2,
GUIVisualizationSettings, float, 8, 4>::Search (this=0x7fffd0914f20,
a_node=0x7fffd0867180, a_rect=0x7fffffffcd60,
a_foundCount=@0x7fffffffcd54: 1, c=...) at
../../src/foreign/rtree/RTree.h:1565
#18 0x000000000043e58b in RTree<GUIGlObject*, GUIGlObject, float, 2,
GUIVisualizationSettings, float, 8, 4>::Search (this=0x7fffd0914f20,
a_min=0x7fffffffce30, a_max=0x7fffffffce40, c=...) at
../../src/foreign/rtree/RTree.h:547
#19 0x000000000043d44b in SUMORTree::Search (this=0x7fffd0914f20,
a_min=0x7fffffffce30, a_max=0x7fffffffce40, c=...) at
../../src/foreign/rtree/SUMORTree.h:122
#20 0x0000000000481f41 in GNEViewNet::doPaintGL (this=0x1137d10,
mode=7170, bound=...) at GNEViewNet.cpp:378
#21 0x000000000077de55 in GUISUMOAbstractView::getObjectsInBoundary
(this=0x1137d10, bound=...) at GUISUMOAbstractView.cpp:375
#22 0x000000000077d91b in GUISUMOAbstractView::getObjectAtPosition
(this=0x1137d10, pos=...) at GUISUMOAbstractView.cpp:293
#23 0x000000000077d842 in GUISUMOAbstractView::getObjectUnderCursor
(this=0x1137d10) at GUISUMOAbstractView.cpp:283
#24 0x000000000048209a in GNEViewNet::onLeftBtnPress (this=0x1137d10,
obj=0x7fffffffd5f0, sel=196608, data=0x7fffffffd7f0) at GNEViewNet.cpp:395
#25 0x000000000077c47c in GUISUMOAbstractView::handle (this=0x1137d10,
sender=0x7fffffffd5f0, sel=196608, ptr=0x7fffffffd7f0) at
GUISUMOAbstractView.cpp:105
#26 0x000000000047ca7f in GNEViewNet::handle (this=0x1137d10,
sender=0x7fffffffd5f0, sel=196608, ptr=0x7fffffffd7f0) at GNEViewNet.cpp:101
#27 0x00007ffff74257a8 in FX::FXApp::dispatchEvent(_XEvent&) () from
/usr/lib/x86_64-linux-gnu/libFOX-1.6.so.0
#28 0x00007ffff74243b0 in FX::FXApp::runOneEvent(bool) () from
/usr/lib/x86_64-linux-gnu/libFOX-1.6.so.0
#29 0x00007ffff7424445 in FX::FXApp::run() () from
/usr/lib/x86_64-linux-gnu/libFOX-1.6.so.0
#30 0x0000000000423d21 in main (argc=1, argv=0x7fffffffde18) at
netedit_main.cpp:113
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user