gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.15k stars 478 forks source link

gzclient crashes on shutdown #1262

Open osrf-migration opened 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


Steps to reproduce

  1. On one terminal, start gzserver

  2. On another terminal, start gzclient

  3. Insert a box

  4. Press Ctrl+Q in gzclient or Ctrl+C in gzclient terminal to quit

gzclient crashes

backtrace:

#!c++

Program received signal SIGSEGV, Segmentation fault.
gazebo::rendering::Visual::DetachVisual (this=<optimized out>, _name=...)
    at /home/ian/depot/clones/gazebo5/gazebo/rendering/Visual.cc:677
677       this->dataPtr->children.erase(iter);
(gdb) bt
#0  gazebo::rendering::Visual::DetachVisual (this=<optimized out>, _name=...)
    at /home/ian/depot/clones/gazebo5/gazebo/rendering/Visual.cc:677
#1  0x00007ffff76266bc in gazebo::rendering::Visual::Fini (this=0x5992320)
    at /home/ian/depot/clones/gazebo5/gazebo/rendering/Visual.cc:202
#2  0x00007ffff75f3ecc in gazebo::rendering::Scene::RemoveVisual (this=0x1764ed0, 
    _vis=...) at /home/ian/depot/clones/gazebo5/gazebo/rendering/Scene.cc:2730
#3  0x00007ffff75f64b7 in gazebo::rendering::Scene::Clear (this=0x1764ed0)
    at /home/ian/depot/clones/gazebo5/gazebo/rendering/Scene.cc:194
#4  0x00007ffff75e43f4 in gazebo::rendering::RenderEngine::RemoveScene (this=0x8b18c0, 
    _name=...) at /home/ian/depot/clones/gazebo5/gazebo/rendering/RenderEngine.cc:224
#5  0x00007ffff75e461b in gazebo::rendering::RenderEngine::Fini (this=0x8b18c0)
    at /home/ian/depot/clones/gazebo5/gazebo/rendering/RenderEngine.cc:332
#6  0x00007ffff75e9279 in gazebo::rendering::fini ()
    at /home/ian/depot/clones/gazebo5/gazebo/rendering/RenderingIface.cc:66
#7  0x00007fffedce72e0 in gazebo::sensors::fini ()
    at /home/ian/depot/clones/gazebo5/gazebo/sensors/SensorsIface.cc:71
#8  0x00007ffff6567826 in gazebo::shutdown ()
    at /home/ian/depot/clones/gazebo5/gazebo/gazebo.cc:235
#9  0x00007ffff5a874ee in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff5e60c8b in QMainWindow::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


pull request #1172

osrf-migration commented 8 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


I can't reproduce this anymore, can this issue be closed?

osrf-migration commented 8 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Yes. Close it.

osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).