Closed FabianSchurig closed 4 years ago
The culprits might be some faulty snprintf. Example: https://github.com/ros/geometry2/blob/6afd735afc3d641ec6afa762dd0922ed8b2f6e96/tf2/src/cache.cpp#L94-L98
We also experience this issue on ROS Noetic
:
rosversion tf2
0.7.3
Tried https://github.com/ros/geometry2/pull/479 ; this seems to resolve the issue.
Same here ! Got the issue after the last sync (yesterday). Our whole app is crashed. How come this was released ? This should not have passed the tests
Tried #479 ; this seems to resolve the issue.
Indeed! Solves it for us
Same here ! Got the issue after the last sync (yesterday). Our whole app is crashed. How come this was released ? This should not have passed the tests
Only crashes here when I compile in Release
. When I compile in Debug
, I don't encounter any problems.
Fixed in #479
@reinzor That's probably due to a slightly different memory layout in debug and is probably why the tests passed too.
New release prepared here: https://github.com/ros/rosdistro/pull/26407
When will this fix be available as Ubuntu 20.04 package (ros-noetic-geometry2)?
When will this fix be available as Ubuntu 20.04 package (ros-noetic-geometry2)?
You will have to wait for the next Noetic
sync
Or configure the testing repository.
FYI: This hit me on Saturday evening (September 5th), and I spent many hours banging my head against it.
I'm not sure how to increase visibility on this, but I think we are going to see a lot of reports on this issue.
Someone added a ROS Answers post about it here: https://answers.ros.org/question/360820/buffer-overflow-at-tf-transformlistener/ so hopefully that will help people find their way to the fix faster than I found it. :-)
Hello @tfoote
It would be nice if you could double check a possible buffer overflow with the latest release
0.7.3
.My System:
OS:
Ubuntu 20.04 Focal
ROS:noetic
Latest deb package versions:
Issue:
I automatically
apt
updated my software, so alsogeometry2
packages from0.7.2
to0.7.3
.Now, multiple packages using sub packages of
geometry2
are terminated as follows during runtime:Current Workaround:
I did clone
geometry2
into my workspace and used tag0.7.2
. Packages likerviz
usingtf2
no longer crash. I guess there might be some change from0.7.2
to0.7.3
which causes that crash.