-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
realloc(): invalid pointer causing SIGABRT after recent updates #195
Comments
Can you please add debug information for the backtrace, e.g. what the parameters the |
This is the same issue I'm hunting down in ros2/build_farmer#192, so you can assign me to it. |
Closing this duplicate. |
Launching an example from readme I experiencing the same with ros1_bridge built from latest commit in master branch. $ ros2 run ros1_bridge dynamic_bridge╭─khassanov@32vd ~/Workspace/ros2_ws
╰─$ ros2 run ros1_bridge dynamic_bridge 250 ↵
created 2to1 bridge for topic '/rosout' with ROS 2 type 'rcl_interfaces/msg/Log' and ROS 1 type 'rosgraph_msgs/Log'
created 1to2 bridge for topic '/chatter' with ROS 1 type 'std_msgs/String' and ROS 2 type 'std_msgs/msg/String'
[INFO] [ros_bridge]: Passing message from ROS 1 std_msgs/String to ROS 2 std_msgs/msg/String (showing msg only once per type)
realloc(): invalid pointer |
CI is currently passing for the master branch and I just tried to reproduce it locally and it was working for me:
So it is likely something specific to your environment / steps. If you would like help troubleshooting what it is please include more information: on what platforms, what version of ROS 1 / 2 you are using, which binaries / which commit hashed if you are building from source, the exact steps you followed, etc. |
Please find more inputs below. PlatformUbuntu 18.04.3 LTS bionic, zsh shell ROS1 distroMelodic ROS2 distroDashing ros1_bridgeCommit e8568f19c85c70fe677a0470c4281e411f338311 BuildingBuilt as it guided by README. FailureExample failed to run: Example 1a: ROS 1 talker and ROS 2 listener ╭─khassanov@32vd ~/Workspace/ros2_ws
╰─$ ros2 run ros1_bridge dynamic_bridge
created 2to1 bridge for topic '/rosout' with ROS 2 type 'rcl_interfaces/msg/Log' and ROS 1 type 'rosgraph_msgs/Log'
created 1to2 bridge for topic '/chatter' with ROS 1 type 'std_msgs/String' and ROS 2 type 'std_msgs/msg/String'
[INFO] [ros_bridge]: Passing message from ROS 1 std_msgs/String to ROS 2 std_msgs/msg/String (showing msg only once per type)
realloc(): invalid pointer More detailsMore platform data below. ╭─khassanov@32vd ~
╰─$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
╭─khassanov@32vd ~
╰─$ . /opt/ros/melodic/setup.zsh
╭─khassanov@32vd ~
╰─$ env | grep ROS
ROS_DISTRO=melodic
ROS_ETC_DIR=/opt/ros/melodic/etc/ros
ROS_PACKAGE_PATH=/opt/ros/melodic/share
ROS_PYTHON_VERSION=2
ROS_VERSION=1
ROS_ROOT=/opt/ros/melodic/share/ros
ROS_MASTER_URI=http://localhost:11311
ROSLISP_PACKAGE_DIRECTORIES=
╭─khassanov@32vd ~
╰─$ . /opt/ros/dashing/setup.zsh
ROS_DISTRO was set to 'melodic' before. Please make sure that the environment does not mix paths from different distributions.
╭─khassanov@32vd ~
╰─$ env | grep ROS
ROS_DISTRO=dashing
ROS_ETC_DIR=/opt/ros/melodic/etc/ros
ROS_PACKAGE_PATH=/opt/ros/melodic/share
ROS_PYTHON_VERSION=3
ROS_VERSION=2
ROS_ROOT=/opt/ros/melodic/share/ros
ROS_MASTER_URI=http://localhost:11311
ROSLISP_PACKAGE_DIRECTORIES= |
If you are using the Debian packages of Dashing why are you building the bridge from source? I assume you want support for additional custom messages.
The commit is from the |
After pulling
ros1_bridge
changes this morning on Dashing, I'm seeing:It's not always the same message type, but it always happens after only a few seconds bridging about 10 topics. Here is a backtrace:
The text was updated successfully, but these errors were encountered: