ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi

I have similar issue. I believe this happens when you purposefully shutdown the load up sequence using ctrl-c. Or, while loading you close the terminal window.

Here is the debug info:

roslaunch simBotUnicycle simBotEmptyWorld.launch ... logging to /home/sid-ros/.ros/log/fa892870-22a5-11e2-b62b-e0b9a546c315/roslaunch-sidros-G53SW-28253.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://sidros-G53SW:39098/

SUMMARY

PARAMETERS * /robot_description * /robot_pose_ekf/freq * /robot_pose_ekf/imu_used * /robot_pose_ekf/odom_used * /robot_pose_ekf/publish_tf * /robot_pose_ekf/sensor_timeout * /robot_pose_ekf/vo_used * /robot_state_publisher/publish_frequency * /robot_state_publisher/tf_prefix * /rosdistro * /rosversion * /use_sim_time

NODES / gazebo (gazebo/debug) gazebo_gui (gazebo/gui) robot_pose_ekf (robot_pose_ekf/robot_pose_ekf) robot_state_publisher (robot_state_publisher/state_publisher) spawn_robot (gazebo/spawn_model)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored process[gazebo-1]: started with pid [28276] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored process[gazebo_gui-2]: started with pid [28287] GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 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://bugs.launchpad.net/gdb-linaro/... Reading symbols from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/bin/gzserver...Gazebo multi-robot simulator, version 1.0.2 Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors. Released under the Apache 2 License. http://gazebosim.org

(no debugging symbols found)...done. [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored process[spawn_robot-3]: started with pid [28292] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored process[robot_state_publisher-4]: started with pid [28296] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> ignored process[robot_pose_ekf-5]: started with pid [28323] Msg Waiting for master Msg Connected to gazebo master @ http://localhost:11345 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". loading model xml from ros parameter [INFO] [WallTime: 1351611279.742841] [0.000000] waiting for service /gazebo/spawn_urdf_model Service call failed: transport error completing service call: unable to receive data from sender, check sender's logs for details [spawn_robot-3] process has finished cleanly log file: /home/sid-ros/.ros/log/fa892870-22a5-11e2-b62b-e0b9a546c315/spawn_robot-3*.log LightListWidget::OnLightMsg LightListWidget::OnLightMsg [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Gazebo multi-robot simulator, version 1.0.2 Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors. Released under the Apache 2 License. http://gazebosim.org

[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [New Thread 0x7fffe6e67700 (LWP 28446)] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Exception [Master.cc:69] Unable to start server[Address already in use]

terminate called after throwing an instance of 'gazebo::common::Exception'

Program received signal SIGABRT, Aborted. 0x00007ffff5820425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) thread apply all bt

Thread 2 (Thread 0x7fffe6e67700 (LWP 28446)):

0 0x00007ffff58de353 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6

1 0x00007ffff76c8564 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) ()

from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1

2 0x00007ffff76c8cee in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()

from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1

3 0x00007ffff76c92e5 in boost::asio::io_service::run() ()

from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1

4 0x00007ffff6a32ce9 in thread_proxy ()

from /usr/lib/libboost_thread.so.1.46.1

5 0x00007ffff6c46e9a in start_thread ()

from /lib/x86_64-linux-gnu/libpthread.so.0

6 0x00007ffff58ddcbd in clone () from /lib/x86_64-linux-gnu/libc.so.6

7 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fbd800 (LWP 28291)):

0 0x00007ffff5820425 in raise () from /lib/x86_64-linux-gnu/libc.so.6

---Type <return> to continue, or q <return> to quit---

1 0x00007ffff5823b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6

2 0x00007ffff5e7669d in __gnu_cxx::__verbose_terminate_handler() ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

3 0x00007ffff5e74846 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

4 0x00007ffff5e74873 in std::terminate() ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

5 0x00007ffff5e7496e in __cxa_throw ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

6 0x000000000042b79e in gazebo::Master::Init(unsigned short) ()

7 0x0000000000420f27 in gazebo::Server::Load(std::string const&) ()

8 0x00000000004228e0 in gazebo::Server::ParseArgs(int, char**) ()

9 0x000000000041d79d in main ()

(gdb)

Hi

I have similar issue. I believe this happens when you purposefully shutdown the load up sequence using ctrl-c. Or, while loading you close the terminal window.

Here is the debug info:

roslaunch simBotUnicycle simBotEmptyWorld.launch 
... logging to /home/sid-ros/.ros/log/fa892870-22a5-11e2-b62b-e0b9a546c315/roslaunch-sidros-G53SW-28253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

<1GB. started roslaunch server http://sidros-G53SW:39098/

SUMMARY

http://sidros-G53SW:39098/ SUMMARY ======== PARAMETERS * /robot_description * /robot_pose_ekf/freq * /robot_pose_ekf/imu_used * /robot_pose_ekf/odom_used * /robot_pose_ekf/publish_tf * /robot_pose_ekf/sensor_timeout * /robot_pose_ekf/vo_used * /robot_state_publisher/publish_frequency * /robot_state_publisher/tf_prefix * /rosdistro * /rosversion * /use_sim_time

/use_sim_time NODES / gazebo (gazebo/debug) gazebo_gui (gazebo/gui) robot_pose_ekf (robot_pose_ekf/robot_pose_ekf) robot_state_publisher (robot_state_publisher/state_publisher) spawn_robot (gazebo/spawn_model)

ROS_MASTER_URI=http://localhost:11311

(gazebo/spawn_model) ROS_MASTER_URI=http://localhost:11311 core service [/rosout] found Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored process[gazebo-1]: started with pid [28276] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored process[gazebo_gui-2]: started with pid [28287] GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html <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://bugs.launchpad.net/gdb-linaro/... <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/bin/gzserver...Gazebo multi-robot simulator, version 1.0.2 Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors. Released under the Apache 2 License. http://gazebosim.org

http://gazebosim.org (no debugging symbols found)...done. [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored process[spawn_robot-3]: started with pid [28292] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored process[robot_state_publisher-4]: started with pid [28296] [ WARN] [1351611279.372161513]: The root link base_footprint has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF. Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading'="" from="" '="" usr="" lib="" python2.7="" threading.pyc'=""> 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored process[robot_pose_ekf-5]: started with pid [28323] Msg Waiting for master Msg Connected to gazebo master @ http://localhost:11345 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [ INFO] [1351611279.675777569, 1419.993000000]: Initializing Odom sensor [ INFO] [1351611279.675847860, 1419.993000000]: Odom sensor activated [ INFO] [1351611279.685996360, 1420.015000000]: Initializing Imu sensor [ INFO] [1351611279.686059671, 1420.015000000]: Imu sensor activated [ INFO] [1351611279.690917444, 1420.027000000]: Kalman filter initialized with odom measurement loading model xml from ros parameter [INFO] [WallTime: 1351611279.742841] [0.000000] waiting for service /gazebo/spawn_urdf_model Service call failed: transport error completing service call: unable to receive data from sender, check sender's logs for details [spawn_robot-3] process has finished cleanly log file: /home/sid-ros/.ros/log/fa892870-22a5-11e2-b62b-e0b9a546c315/spawn_robot-3*.log LightListWidget::OnLightMsg LightListWidget::OnLightMsg [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Gazebo multi-robot simulator, version 1.0.2 Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors. Released under the Apache 2 License. http://gazebosim.org

http://gazebosim.org [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [New Thread 0x7fffe6e67700 (LWP 28446)] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Exception [Master.cc:69] Unable to start server[Address already in use]

use] terminate called after throwing an instance of 'gazebo::common::Exception'

'gazebo::common::Exception' Program received signal SIGABRT, Aborted. 0x00007ffff5820425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) thread apply all bt

bt Thread 2 (Thread 0x7fffe6e67700 (LWP 28446)):

0 28446)): #0 0x00007ffff58de353 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6

1 /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff76c8564 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) ()

from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1

2 () from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1 #2 0x00007ffff76c8cee in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()

from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1

3 () from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1 #3 0x00007ffff76c92e5 in boost::asio::io_service::run() ()

from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1

4 () from /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/lib/libgazebo_transport.so.1 #4 0x00007ffff6a32ce9 in thread_proxy ()

from /usr/lib/libboost_thread.so.1.46.1

5 () from /usr/lib/libboost_thread.so.1.46.1 #5 0x00007ffff6c46e9a in start_thread ()

from /lib/x86_64-linux-gnu/libpthread.so.0

6 () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007ffff58ddcbd in clone () from /lib/x86_64-linux-gnu/libc.so.6

7 /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? ()

() Thread 1 (Thread 0x7ffff7fbd800 (LWP 28291)):

0 28291)): #0 0x00007ffff5820425 in raise () from /lib/x86_64-linux-gnu/libc.so.6

/lib/x86_64-linux-gnu/libc.so.6 ---Type <return> to continue, or q <return> to quit---

1 quit--- #1 0x00007ffff5823b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6

2 /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff5e7669d in __gnu_cxx::__verbose_terminate_handler() ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

3 () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007ffff5e74846 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

4 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff5e74873 in std::terminate() ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

5 () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007ffff5e7496e in __cxa_throw ()

from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

6 () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x000000000042b79e in gazebo::Master::Init(unsigned short) ()

7 () #7 0x0000000000420f27 in gazebo::Server::Load(std::string const&) ()

8 () #8 0x00000000004228e0 in gazebo::Server::ParseArgs(int, char**) ()

9 () #9 0x000000000041d79d in main ()

(gdb)

() (gdb)