Closed ghost closed 5 years ago
Closing: If I use the "recent" branch kinetic-devel from here, the error disappears. https://github.com/ros/roscpp_core
@mojovski I can confirm that I had a similar problem (segfault from tf listener in docker, but it worked fine outside docker), and building roscpp_core from source solved it.
There was a unintended ABI change in the 2018-09-06 kinetic sync involving ROS time. Until the docker images have the old ABI if you install newer packages without doing an upgrade this has been observed to cause segfaults. The docker images usually get regenerated every month or so. The workaround is to just do an apt update && apt upgrade. As also pointed out recompiling from source also fixes it.
I am facing a strange SIGSEGV error inside the TF module, when used in a docker container.
In short: the method
tf::Transformer::waitForTransform(...)
causes a segmentation fault! See this repository to reproduce the error quickly: https://github.com/mojovski/tf_docker_issueIn long: The
waitForTransform
in these lines causes the crash:Strangely, it runs on my Ubuntu 16.04 machine. But when I also use Ubuntu16.04 inside docker, this crashes.
If you do the steps in the readme here https://github.com/mojovski/tf_docker_issue, you will get this stack trace:
PS: The error occurs on ros kinetic