Skip to content

Instantly share code, notes, and snippets.

@scpeters
Created March 29, 2014 01:13
Show Gist options
  • Save scpeters/9846432 to your computer and use it in GitHub Desktop.
Save scpeters/9846432 to your computer and use it in GitHub Desktop.
SensorManager_TEST seg-fault removing projectors
$ while gazebo/sensors/UNIT_SensorManager_TEST ; do date; done
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from SensorManager_TEST
[ RUN ] SensorManager_TEST.InitEmpty
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.191
[Dbg] [ServerFixture.cc:144] ServerFixture load in 0.9 seconds, timeout after 600 seconds
[Dbg] [ServerFixture.cc:95] ServerFixture::Unload
[ OK ] SensorManager_TEST.InitEmpty (1039 ms)
[ RUN ] SensorManager_TEST.Data
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.191
Warning [parser.cc:344] Converting a deprecated source[test/worlds/test_camera_laser.world].
Warning [Converter.cc:59] Version[1.3] to Version[1.5]
Please use the gzsdf tool to update your SDF files.
$ gzsdf convert [sdf_file]
[Dbg] [ServerFixture.cc:144] ServerFixture load in 2.1 seconds, timeout after 600 seconds
[Dbg] [ServerFixture.cc:95] ServerFixture::Unload
[ OK ] SensorManager_TEST.Data (3252 ms)
[ RUN ] SensorManager_TEST.InitRemove
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.191
[Dbg] [ServerFixture.cc:144] ServerFixture load in 3.1 seconds, timeout after 600 seconds
Done done
[Dbg] [ServerFixture.cc:95] ServerFixture::Unload
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::base_footprint::base_contact_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::base_footprint::base_laser] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::torso_lift_link::torso_lift_contact_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::head_mount_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::head_mount_prosilica_link_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::head_mount_prosilica_link_sim_pcd_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::narrow_stereo_gazebo_l_stereo_camera_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::narrow_stereo_gazebo_r_stereo_camera_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::wide_stereo_gazebo_l_stereo_camera_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::wide_stereo_gazebo_r_stereo_camera_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::head_tilt_link::high_def_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::l_forearm_roll_link::l_forearm_cam_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::l_gripper_l_finger_tip_link::l_gripper_l_finger_tip_contact_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::l_gripper_r_finger_tip_link::l_gripper_r_finger_tip_contact_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::laser_tilt_mount_link::laser_tilt] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::r_forearm_roll_link::r_forearm_cam_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::r_gripper_l_finger_tip_link::r_gripper_l_finger_tip_contact_sensor] because it does not exist.
[Err] [SensorManager.cc:354] Unable to remove sensor[default::pr2::r_gripper_r_finger_tip_link::r_gripper_r_finger_tip_contact_sensor] because it does not exist.
*** Error in `gazebo/sensors/UNIT_SensorManager_TEST': corrupted double-linked list: 0x00007f6d326243b0 ***
^C^\Quit (core dumped)
scpeters@t2:~/ws/gazebo_simbody/build_isolated/gazebo/devel$ file core
core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'gazebo/sensors/UNIT_SensorManager_TEST'
scpeters@t2:~/ws/gazebo_simbody/build_isolated/gazebo/devel$ gdb gazebo/sensors/UNIT_SensorManager_TEST core
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/scpeters/ws/gazebo_simbody/build_isolated/gazebo/devel/gazebo/sensors/UNIT_SensorManager_TEST...done.
warning: core file may not match specified executable file.
[New LWP 6981]
[New LWP 7035]
[New LWP 7040]
[New LWP 7051]
[New LWP 7036]
[New LWP 7038]
[New LWP 7037]
[New LWP 7041]
[New LWP 7042]
[New LWP 7043]
[New LWP 7044]
[New LWP 7045]
[New LWP 7046]
[New LWP 7047]
[New LWP 7050]
[New LWP 7052]
[New LWP 7053]
[New LWP 7054]
[New LWP 7056]
[New LWP 7055]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gazebo/sensors/UNIT_SensorManager_TEST'.
Program terminated with signal 3, Quit.
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
(gdb) bt
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6ddb82c8a3 in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#2 0x00007f6ddb829164 in boost::thread::join_noexcept() () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#3 0x000000000043f9b6 in join (this=0xa71e80) at /usr/include/boost/thread/detail/thread.hpp:751
#4 ServerFixture::Unload (this=0xa6d220) at test/ServerFixture.cc:106
#5 0x000000000043c463 in HandleSehExceptionsInMethodIfSupported<testing::Test, void> (location=0x46d972 "TearDown()",
method=<optimized out>, object=<optimized out>)
at test/gtest/src/gtest.cc:2079
#6 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=object@entry=0xa6d220,
method=<optimized out>, location=location@entry=0x46d972 "TearDown()")
at test/gtest/src/gtest.cc:2115
#7 0x000000000042eb30 in testing::Test::Run (this=this@entry=0xa6d220)
at test/gtest/src/gtest.cc:2160
#8 0x000000000042ec06 in testing::TestInfo::Run (this=0xa6b3d0)
at test/gtest/src/gtest.cc:2327
#9 0x000000000042ed0d in testing::TestCase::Run (this=0xa6b080)
at test/gtest/src/gtest.cc:2445
#10 0x000000000042ef9d in testing::internal::UnitTestImpl::RunAllTests (this=0xa6aca0)
at test/gtest/src/gtest.cc:4316
#11 0x000000000042f28e in HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (
location=<optimized out>, method=<optimized out>, object=<optimized out>)
at test/gtest/src/gtest.cc:2079
#12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (
location=0x46ee80 "auxiliary test code (environments or event listeners)",
method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x42ed80 <testing::internal::UnitTestImpl::RunAllTests()>, object=0xa6aca0) at test/gtest/src/gtest.cc:2115
#13 testing::UnitTest::Run (this=<optimized out>) at test/gtest/src/gtest.cc:3930
#14 0x00000000004130bf in RUN_ALL_TESTS ()
at test/gtest/include/gtest/gtest.h:2288
#15 main (argc=1, argv=<optimized out>)
at gazebo/sensors/SensorManager_TEST.cc:166
(gdb) thread apply all bt
Thread 20 (Thread 0x7f6d7bffe700 (LWP 7055)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f6ddaf7ac6b in ?? () from /usr/lib/libtbb.so.2
#2 0x00007f6ddaf7ac89 in ?? () from /usr/lib/libtbb.so.2
#3 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d7bffe700) at pthread_create.c:311
#4 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 19 (Thread 0x7f6d7b72d700 (LWP 7056)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f6ddaf7ac6b in ?? () from /usr/lib/libtbb.so.2
#2 0x00007f6ddaf7ac89 in ?? () from /usr/lib/libtbb.so.2
#3 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d7b72d700) at pthread_create.c:311
#4 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 18 (Thread 0x7f6d7bb2e700 (LWP 7054)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f6ddaf7ac6b in ?? () from /usr/lib/libtbb.so.2
#2 0x00007f6ddaf7ac89 in ?? () from /usr/lib/libtbb.so.2
#3 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d7bb2e700) at pthread_create.c:311
#4 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 17 (Thread 0x7f6d84647700 (LWP 7053)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f6ddaf7ac6b in ?? () from /usr/lib/libtbb.so.2
#2 0x00007f6ddaf7ac89 in ?? () from /usr/lib/libtbb.so.2
#3 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d84647700) at pthread_create.c:311
#4 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 16 (Thread 0x7f6d85a4c700 (LWP 7052)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f6ddaf7ac6b in ?? () from /usr/lib/libtbb.so.2
#2 0x00007f6ddaf7ac89 in ?? () from /usr/lib/libtbb.so.2
#3 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d85a4c700) at pthread_create.c:311
#4 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 15 (Thread 0x7f6d84e49700 (LWP 7050)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f6ddaf7ac6b in ?? () from /usr/lib/libtbb.so.2
#2 0x00007f6ddaf7ac89 in ?? () from /usr/lib/libtbb.so.2
#3 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d84e49700) at pthread_create.c:311
#4 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 14 (Thread 0x7f6d86e86700 (LWP 7047)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d86e86700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 13 (Thread 0x7f6da8ff9700 (LWP 7046)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6da8ff9700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
---Type <return> to continue, or q <return> to quit---
Thread 12 (Thread 0x7f6da97fa700 (LWP 7045)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6da97fa700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 11 (Thread 0x7f6da9ffb700 (LWP 7044)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6da9ffb700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 10 (Thread 0x7f6daa7fc700 (LWP 7043)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6daa7fc700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 9 (Thread 0x7f6daaffd700 (LWP 7042)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6daaffd700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 8 (Thread 0x7f6dab7fe700 (LWP 7041)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6dab7fe700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 7 (Thread 0x7f6dc1b91700 (LWP 7037)):
#0 clock_nanosleep (clock_id=0, flags=0, req=0x7f6dc1b90cd0, rem=0xffffffffffffffff)
at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:49
#1 0x00007f6ddd92e7b3 in gazebo::common::Time::Sleep (_time=...)
at gazebo/common/Time.cc:195
#2 0x00007f6ddd92e977 in gazebo::common::Time::MSleep (_ms=_ms@entry=10)
at gazebo/common/Time.cc:214
#3 0x000000000046767d in gazebo::Master::Run (this=0x7f6db5ed42c0)
at gazebo/Master.cc:335
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6dc1b91700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 6 (Thread 0x7f6dc08c6700 (LWP 7038)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6ddd91b21b in boost::condition_variable::wait (this=0x9e92a8, m=...)
---Type <return> to continue, or q <return> to quit---
at /usr/include/boost/thread/pthread/condition_variable.hpp:73
#2 0x00007f6ddd9160f6 in gazebo::common::ModelDatabase::UpdateModelCache (
this=0x69a5d0 <SingletonT<gazebo::common::ModelDatabase>::GetInstance()::t>, _fetchImmediately=false)
at gazebo/common/ModelDatabase.cc:281
#3 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#4 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6dc08c6700) at pthread_create.c:311
#5 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 5 (Thread 0x7f6db3fff700 (LWP 7036)):
#0 0x00007f6dda476083 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f6ddc6ffdd8 in boost::asio::detail::epoll_reactor::run (this=0x7f6d40804920, block=<optimized out>, ops=...)
at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:392
#2 0x00007f6ddc704471 in do_run_one (ec=..., this_thread=..., lock=..., this=0x7f6db5f0f120)
at /usr/include/boost/asio/detail/impl/task_io_service.ipp:396
#3 boost::asio::detail::task_io_service::run (this=0x7f6db5f0f120, ec=...)
at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153
#4 0x00007f6ddc713d86 in boost::asio::io_service::run (this=0x7f6db460f500) at /usr/include/boost/asio/impl/io_service.ipp:59
#5 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#6 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6db3fff700) at pthread_create.c:311
#7 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 4 (Thread 0x7f6d84a48700 (LWP 7051)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f6ddaf7ac6b in ?? () from /usr/lib/libtbb.so.2
#2 0x00007f6ddaf7ac89 in ?? () from /usr/lib/libtbb.so.2
#3 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6d84a48700) at pthread_create.c:311
#4 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 3 (Thread 0x7f6dabfff700 (LWP 7040)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6dd6b0f890 in ?? () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#2 0x00007f6dd6b0e8bf in Ogre::DefaultWorkQueue::waitForNextRequest() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#3 0x00007f6dd6b0ed34 in Ogre::DefaultWorkQueue::_threadMain() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#4 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#5 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6dabfff700) at pthread_create.c:311
#6 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 2 (Thread 0x7f6dc10c7700 (LWP 7035)):
#0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1 0x00007f6dda400f1c in _L_lock_11850 () at malloc.c:5151
#2 0x00007f6dda3fe4c5 in __GI___libc_malloc (bytes=56) at malloc.c:2856
#3 0x00007f6dddb67660 in _dl_map_object_deps (map=map@entry=0x7f6dddd4b4e0, preloads=preloads@entry=0x0,
npreloads=npreloads@entry=0, trace_mode=trace_mode@entry=0, open_mode=open_mode@entry=-2147483648) at dl-deps.c:515
#4 0x00007f6dddb6ddaf in dl_open_worker (a=a@entry=0x7f6dc10c5cb8) at dl-open.c:276
#5 0x00007f6dddb696e6 in _dl_catch_error (objname=objname@entry=0x7f6dc10c5ca8, errstring=errstring@entry=0x7f6dc10c5cb0,
mallocedp=mallocedp@entry=0x7f6dc10c5ca0, operate=operate@entry=0x7f6dddb6dc00 <dl_open_worker>,
args=args@entry=0x7f6dc10c5cb8) at dl-error.c:177
#6 0x00007f6dddb6d809 in _dl_open (file=0x7f6dda4fdb26 "libgcc_s.so.1", mode=-2147483647, caller_dlopen=<optimized out>,
nsid=-2, argc=1, argv=0x7fffcb65f928, env=0x7fffcb65f938) at dl-open.c:667
#7 0x00007f6dda4b2da2 in do_dlopen (ptr=ptr@entry=0x7f6dc10c5ec0) at dl-libc.c:87
#8 0x00007f6dddb696e6 in _dl_catch_error (objname=0x7f6dc10c5ea0, errstring=0x7f6dc10c5eb0, mallocedp=0x7f6dc10c5e90,
operate=0x7f6dda4b2d60 <do_dlopen>, args=0x7f6dc10c5ec0) at dl-error.c:177
#9 0x00007f6dda4b2e62 in dlerror_run (args=0x7f6dc10c5ec0, operate=0x7f6dda4b2d60 <do_dlopen>) at dl-libc.c:46
#10 __GI___libc_dlopen_mode (name=name@entry=0x7f6dda4fdb26 "libgcc_s.so.1", mode=mode@entry=-2147483647) at dl-libc.c:163
#11 0x00007f6dda48d175 in init () at ../sysdeps/x86_64/backtrace.c:52
#12 0x00007f6ddc4c7370 in pthread_once () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:103
#13 0x00007f6dda48d294 in __GI___backtrace (array=array@entry=0x7f6dc10c6180, size=size@entry=64)
at ../sysdeps/x86_64/backtrace.c:103
#14 0x00007f6dda3ef515 in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7f6dda503240 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:178
#15 0x00007f6dda3fa4c6 in malloc_printerr (action=3, str=0x7f6dda4ff1e8 "corrupted double-linked list", ptr=<optimized out>)
---Type <return> to continue, or q <return> to quit---
at malloc.c:4923
#16 0x00007f6dda3fbcb9 in _int_free (av=0x7f6db4000020, p=0x7f6d326242d0, have_lock=0) at malloc.c:3933
#17 0x00007f6ddcd9d1ff in gazebo::rendering::Scene::RemoveVisual (this=this@entry=0x7f6d3a469c10, _vis=...)
at gazebo/rendering/Scene.cc:2689
#18 0x00007f6ddcda2e00 in gazebo::rendering::Scene::Clear (this=0x7f6d3a469c10)
at gazebo/rendering/Scene.cc:189
#19 0x00007f6ddcd89467 in gazebo::rendering::RenderEngine::RemoveScene (
this=this@entry=0x7f6ddd30c6a0 <SingletonT<gazebo::rendering::RenderEngine>::GetInstance()::t>, _name=...)
at gazebo/rendering/RenderEngine.cc:218
#20 0x00007f6ddcd89617 in gazebo::rendering::RenderEngine::Fini (
this=this@entry=0x7f6ddd30c6a0 <SingletonT<gazebo::rendering::RenderEngine>::GetInstance()::t>)
at gazebo/rendering/RenderEngine.cc:326
#21 0x00007f6ddcd90121 in gazebo::rendering::fini ()
at gazebo/rendering/RenderingIface.cc:66
#22 0x00007f6ddd0bc706 in gazebo::sensors::fini ()
at gazebo/sensors/SensorsIface.cc:71
#23 0x0000000000462ed4 in gazebo::shutdown () at gazebo/gazebo.cc:247
#24 0x00000000004563f8 in gazebo::Server::Run (this=0x7f6d4085c0a0)
at gazebo/Server.cc:479
#25 0x000000000043fcc3 in ServerFixture::RunServer (this=0xa6d220, _worldFilename=..., _paused=<optimized out>, _physics=...)
at test/ServerFixture.cc:233
#26 0x00007f6ddb82894a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#27 0x00007f6ddc4c1f6e in start_thread (arg=0x7f6dc10c7700) at pthread_create.c:311
#28 0x00007f6dda4759cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 1 (Thread 0x7f6dddd0d840 (LWP 6981)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f6ddb82c8a3 in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#2 0x00007f6ddb829164 in boost::thread::join_noexcept() () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
#3 0x000000000043f9b6 in join (this=0xa71e80) at /usr/include/boost/thread/detail/thread.hpp:751
#4 ServerFixture::Unload (this=0xa6d220) at test/ServerFixture.cc:106
#5 0x000000000043c463 in HandleSehExceptionsInMethodIfSupported<testing::Test, void> (location=0x46d972 "TearDown()",
method=<optimized out>, object=<optimized out>)
at test/gtest/src/gtest.cc:2079
#6 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=object@entry=0xa6d220,
method=<optimized out>, location=location@entry=0x46d972 "TearDown()")
at test/gtest/src/gtest.cc:2115
#7 0x000000000042eb30 in testing::Test::Run (this=this@entry=0xa6d220)
at test/gtest/src/gtest.cc:2160
#8 0x000000000042ec06 in testing::TestInfo::Run (this=0xa6b3d0)
at test/gtest/src/gtest.cc:2327
#9 0x000000000042ed0d in testing::TestCase::Run (this=0xa6b080)
at test/gtest/src/gtest.cc:2445
#10 0x000000000042ef9d in testing::internal::UnitTestImpl::RunAllTests (this=0xa6aca0)
at test/gtest/src/gtest.cc:4316
#11 0x000000000042f28e in HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (
location=<optimized out>, method=<optimized out>, object=<optimized out>)
at test/gtest/src/gtest.cc:2079
#12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (
location=0x46ee80 "auxiliary test code (environments or event listeners)",
method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x42ed80 <testing::internal::UnitTestImpl::RunAllTests()>, object=0xa6aca0) at test/gtest/src/gtest.cc:2115
#13 testing::UnitTest::Run (this=<optimized out>) at test/gtest/src/gtest.cc:3930
#14 0x00000000004130bf in RUN_ALL_TESTS ()
at test/gtest/include/gtest/gtest.h:2288
#15 main (argc=1, argv=<optimized out>)
at gazebo/sensors/SensorManager_TEST.cc:166
(gdb) :2689
Undefined command: "". Try "help".
(gdb) quit
scpeters@t2:~/ws/gazebo_simbody/build_isolated/gazebo/devel$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment