Model Editor: Removing links triggers graphviz assert failure

Issue #1578 new
Ian Chen
created an issue

graphviz error msg:

newtrap: Trapezoid-table overflow 441
gzclient: trapezoid.c:88: newtrap: Assertion `0' failed.

happened once, not sure how to reproduce it again.

Comments (6)

  1. Louise Poubel

    Backtrace from issue #1596

    newtrap: Trapezoid-table overflow 301
    gzclient: trapezoid.c:88: newtrap: Assertion `0' failed.
    
    Program received signal SIGABRT, Aborted.
    0x00007ffff6c06cc9 in __GI_raise (sig=sig@entry=6)
        at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
    56  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    (gdb) bt
    #0  0x00007ffff6c06cc9 in __GI_raise (sig=sig@entry=6)
        at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
    #1  0x00007ffff6c0a0d8 in __GI_abort () at abort.c:89
    #2  0x00007ffff6bffb86 in __assert_fail_base (
        fmt=0x7ffff6d50830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
        assertion=assertion@entry=0x7fffec541951 "0", 
        file=file@entry=0x7fffec54c808 "trapezoid.c", line=line@entry=88, 
        function=function@entry=0x7fffec54c840 "newtrap") at assert.c:92
    #3  0x00007ffff6bffc32 in __GI___assert_fail (assertion=0x7fffec541951 "0", 
        file=0x7fffec54c808 "trapezoid.c", line=88, 
        function=0x7fffec54c840 "newtrap") at assert.c:101
    #4  0x00007fffec53e8d6 in ?? () from /usr/lib/libgvc.so.6
    #5  0x00007fffec53f295 in ?? () from /usr/lib/libgvc.so.6
    #6  0x00007fffec5402fa in construct_trapezoids () from /usr/lib/libgvc.so.6
    #7  0x00007fffec53dc31 in partition () from /usr/lib/libgvc.so.6
    #8  0x00007fffec53833b in mkMaze () from /usr/lib/libgvc.so.6
    #9  0x00007fffec53a89a in orthoEdges () from /usr/lib/libgvc.so.6
    #10 0x00007fff611e645b in ?? ()
       from /usr/lib/graphviz/libgvplugin_dot_layout.so.6
    #11 0x00007fff611d958d in dot_layout ()
       from /usr/lib/graphviz/libgvplugin_dot_layout.so.6
    #12 0x00007fffec4f19c2 in gvLayoutJobs () from /usr/lib/libgvc.so.6
    #13 0x00007fffec4f8485 in gvLayout () from /usr/lib/libgvc.so.6
    #14 0x00007ffff514cd17 in QGVScene::applyLayout (this=0x3cc5950)
        at /home/jackie/code/gazebo/gazebo/gui/model/qgv/QGVScene.cpp:236
    #15 0x00007ffff514896a in gazebo::gui::SchematicViewWidget::AddNode (
        this=0x3cd6700, _node=...)
        at /home/jackie/code/gazebo/gazebo/gui/model/SchematicViewWidget.cc:104
    #16 0x00007ffff56beea6 in operator() (a0=..., this=0x3ceee40)
        at /usr/include/boost/function/function_template.hpp:767
    #17 gazebo::event::EventT<void (std::string)>::Signal<std::string>(std::string const&) (this=0x7ffff5673d80 <gazebo::gui::model::Events::linkInserted>, _p=...)
        at /home/jackie/code/gazebo/gazebo/common/Event.hh:341
    #18 0x00007ffff5119f01 in operator()<std::basic_string<char> > (_p=..., 
        this=<optimized out>)
        at /home/jackie/code/gazebo/gazebo/common/Event.hh:207
    #19 gazebo::gui::ModelCreator::CreateLinkFromSDF (this=this@entry=0x36d5e30, 
        _linkElem=...)
        at /home/jackie/code/gazebo/gazebo/gui/model/ModelCreator.cc:953
    #20 0x00007ffff511b49c in gazebo::gui::ModelCreator::LoadSDF (
        this=this@entry=0x36d5e30, _modelElem=...)
        at /home/jackie/code/gazebo/gazebo/gui/model/ModelCreator.cc:341
    #21 0x00007ffff511c2fe in gazebo::gui::ModelCreator::OnEditModel (
        this=0x36d5e30, _modelName=...)
        at /home/jackie/code/gazebo/gazebo/gui/model/ModelCreator.cc:274
    #22 0x00007ffff77d92da in operator() (a0=..., this=<optimized out>)
        at /usr/include/boost/function/function_template.hpp:767
    #23 Signal<std::basic_string<char> > (_p=..., this=<optimized out>)
        at /home/jackie/code/gazebo/gazebo/common/Event.hh:341
    #24 operator()<std::basic_string<char> > (_p=..., this=<optimized out>)
        at /home/jackie/code/gazebo/gazebo/common/Event.hh:207
    #25 gazebo::gui::ModelRightMenu::OnEdit (this=0x6a9040)
        at /home/jackie/code/gazebo/gazebo/gui/ModelRightMenu.cc:247
    #26 0x00007ffff77ee2c5 in gazebo::gui::ModelRightMenu::qt_static_metacall (
        _o=0x6a9040, _c=26926, _id=6, _a=0xffffffffffffffff)
    
  2. Log in to comment