Ask Your Question
1

How to compile all packages ROS with debug info?

asked 2011-06-14 07:17:38 -0500

Alexandr Buyval gravatar image

I want to debugging the node "nxt_assisted_teleop" in Eclipse. I've written in the file CMakeList.txt in line 10 "set (ROS_BUILD_TYPE RelWithDebInfo)", but I got an run-time error:

assisted_teleop: /opt/ros/diamondback/stacks/geometry/eigen/include/Eigen/src/Core/DenseStorage.h:69: Eigen::internal::plain_array<t, size,="" matrixorarrayoptions,="" 16="">::plain_array() [with T = float, int Size = 4, int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(array) & 0xf) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox/UnalignedArrayAssert.html" " * READ THIS WEB PAGE !!! *"' failed.

I think it's because of what other nodes are compiled without debug info. I want to try to compile all packages with debug information. How to do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-14 07:35:48 -0500

This is most likely not conceptually related to compiling in debug mode, but rather an issue in in using Eigen types. Eigen has special requirements for use because of the optimization it uses. Compiling in debug probably just brought the problem to the surface.

Are you running only ROS code, or is anything your own?

There is a possibility that this is a ROS bug, but if you have any of your own code involved, I'd definitely follow the link provided in the error message check that against your own code first.

If it's ROS code then it would be wise to file a bug report (user accound needed).

edit flag offensive delete link more

Comments

Thank you! I am running only ROS code. I'll try to find bug. I do not have a user account for bug report.
Alexandr Buyval gravatar image Alexandr Buyval  ( 2011-06-14 07:50:20 -0500 )edit
You can create an account at https://code.ros.org/gf/?
tfoote gravatar image tfoote  ( 2011-06-14 10:06:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-06-14 07:17:38 -0500

Seen: 440 times

Last updated: Jun 14 '11