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

bus error on subscribing to topic on arm plattform

asked 2012-10-23 02:26:51 -0500

RobinH gravatar image

updated 2014-01-28 17:14:01 -0500

ngrennan gravatar image

Hi all, Recently I changed my hardware from x86 to a Pandaboard (arm). But now I have problems to subscribe to a "const nav_msgs::Odometry::ConstPtr&" publisher. I allways receive a "bus error" (sigbus) subscribing to the topic.

Here ist the trac of the error:

Program received signal SIGBUS, Bus error. allInOne<ros::serialization::istream, geometry_msgs::point_<std::allocator<void="">

&> (m=..., stream=<synthetic pointer="">) at /opt/ros/fuerte/include/geometry_msgs/Point.h:208 208 stream.next(m.z); (gdb) quit

Can anyone confirm this problem or give me a hint to solve it?

Thanks Robin

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-02 08:40:58 -0500

ahendrix gravatar image

This is a bug in the deserialization code in ROS, interacting badly with the arm hard-float support (armhf). I've had good success running ROS Electric and Groovy on Ubuntu Oneiric armel. (soft-float).

I suspect it will work with later versions of Ubuntu armel, but I haven't had time to try.

edit flag offensive delete link more

Comments

I have had the same issues. Armel seems to work very well, but when I moved to armhf, I got the bus error. I posted a similar issue at: http://answers.ros.org/question/52326/arm-architecture-with-armhf-port-move_base-bus-error-alignment-trapexception/

Raptor gravatar image Raptor  ( 2013-03-04 03:19:10 -0500 )edit

Is there anyone solve this problem, I had same issue Bus Error with odom. I run in UDOO

domikilo gravatar image domikilo  ( 2014-10-10 04:59:49 -0500 )edit

This has been fixed for quite a while now. You may want to try running your node in a debugger, and if that doesn't help, open a new question and include which version of the UDOO, which version of ROS you're using, and the code for the subscriber that is crashing.

ahendrix gravatar image ahendrix  ( 2014-10-10 11:00:55 -0500 )edit
ahendrix gravatar image ahendrix  ( 2014-10-10 11:07:05 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2012-10-23 02:26:51 -0500

Seen: 771 times

Last updated: Mar 02 '13