Skip to content

GZ sim crashes due to block movement too far during runtime #2856

@liyitao-code

Description

@liyitao-code

Environment

  • OS Version: Ubuntu 24.04
  • Source or binary build?
    Source build, use gz-sim9 version:d83d135
    Built with gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
    Build options: -DCMAKE_BUILD_TYPE=Coverage

Description

  • Expected behavior: Gazebo doesn't crash
  • Actual behavior: Gazebo crashes

Steps to reproduce

  1. gz sim a.txt -r
  2. Just wait for it to run for five seconds and for the block to move far enough away

Output


ODE INTERNAL ERROR 1: assertion "aabbBound >= dMinIntExact && aabbBound < dMaxIntExact" failed in collide() [collision_space.cpp:460]
Stack trace (most recent call last):
#31   Object "/lib/x86_64-linux-gnu/libruby-3.2.so.3.2", at 0x7cc25dab9192, in ruby_run_node
#30   Object "/lib/x86_64-linux-gnu/libruby-3.2.so.3.2", at 0x7cc25dab4e5b, in 
#29   Object "/lib/x86_64-linux-gnu/libruby-3.2.so.3.2", at 0x7cc25dc57b39, in rb_vm_exec
#28   Object "/lib/x86_64-linux-gnu/libruby-3.2.so.3.2", at 0x7cc25dc545db, in 
#27   Object "/lib/x86_64-linux-gnu/libruby-3.2.so.3.2", at 0x7cc25dc500fe, in 
#26   Object "/lib/x86_64-linux-gnu/libruby-3.2.so.3.2", at 0x7cc25dc4d8ef, in 
#25   Object "/usr/lib/x86_64-linux-gnu/ruby/3.2.0/fiddle.so", at 0x7cc25d457b13, in 
#24   Object "/lib/x86_64-linux-gnu/libruby-3.2.so.3.2", at 0x7cc25dc163bb, in rb_nogvl
#23   Object "/usr/lib/x86_64-linux-gnu/ruby/3.2.0/fiddle.so", at 0x7cc25d45743b, in 
#22   Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7cc25d55a0bd, in ffi_call
#21   Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7cc25d5573ee, in 
#20   Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7cc25d55ab15, in 
#19   Object "/home/liyitao/workspace/gz_lastest/install/lib/libgz-sim9-gz.so.9.0.0", at 0x7cc2578aed03, in runServer
#18   Object "/home/liyitao/workspace/gz_lastest/install/lib/libgz-sim9.so.9", at 0x7cc256328a64, in gz::sim::v9::Server::Run(bool, unsigned long, bool)
#17   Object "/home/liyitao/workspace/gz_lastest/install/lib/libgz-sim9.so.9", at 0x7cc2563921da, in 
#16   Object "/home/liyitao/workspace/gz_lastest/install/lib/libgz-sim9.so.9", at 0x7cc2563c2987, in gz::sim::v9::SimulationRunner::Run(unsigned long)
#15   Object "/home/liyitao/workspace/gz_lastest/install/lib/libgz-sim9.so.9", at 0x7cc2563c3908, in gz::sim::v9::SimulationRunner::Step(gz::sim::v9::UpdateInfo const&)
#14   Object "/home/liyitao/workspace/gz_lastest/install/lib/libgz-sim9.so.9", at 0x7cc2563bff44, in gz::sim::v9::SimulationRunner::UpdateSystems()
#13   Object "/home/liyitao/workspace/gz_lastest/install/lib/gz-sim-9/plugins/libgz-sim-physics-system.so", at 0x7cc21cef3853, in 
#12   Object "/home/liyitao/workspace/gz_lastest/install/lib/gz-sim-9/plugins/libgz-sim-physics-system.so", at 0x7cc21cf12ad1, in 
#11   Object "/home/liyitao/workspace/gz_lastest/install/lib/gz-sim-9/plugins/libgz-sim-physics-system.so", at 0x7cc21cfc67c2, in 
#10   Object "/home/liyitao/workspace/gz_lastest/install/lib/gz-physics-8/engine-plugins/libgz-physics-dartsim-plugin.so", at 0x7cc21799a51d, in 
#9    Object "/lib/x86_64-linux-gnu/libdart.so.6.13", at 0x7cc216da966c, in dart::simulation::World::step(bool)
#8    Object "/lib/x86_64-linux-gnu/libdart.so.6.13", at 0x7cc216d8f3d5, in dart::constraint::ConstraintSolver::solve()
#7    Object "/lib/x86_64-linux-gnu/libdart.so.6.13", at 0x7cc216d8d970, in dart::constraint::ConstraintSolver::updateConstraints()
#6    Object "/home/liyitao/workspace/gz_lastest/install/lib/gz-physics-8/engine-plugins/libgz-physics-dartsim-plugin.so", at 0x7cc2178cc5c7, in 
#5    Object "/lib/x86_64-linux-gnu/libdart-collision-ode.so.6.13", at 0x7cc2183d622c, in dart::collision::OdeCollisionDetector::collide(dart::collision::CollisionGroup*, dart::collision::CollisionOption const&, dart::collision::CollisionResult*)
#4    Object "/lib/x86_64-linux-gnu/libode.so.8", at 0x7cc216321259, in dxHashSpace::collide(void*, void (*)(void*, dxGeom*, dxGeom*))
#3    Object "/lib/x86_64-linux-gnu/libode.so.8", at 0x7cc216320037, in dDebug
#2    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7cc25d6288fe, in abort
#1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7cc25d64527d, in gsignal
#0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7cc25d69eb2c, in pthread_kill
Aborted (Signal sent by tkill() 31902 1000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions