-
Notifications
You must be signed in to change notification settings - Fork 27
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
No stacktrace is printed on Segfault #21
Comments
I see stacktraces all around ;) Have you made a clean build after adding backward? |
Yes I did. I just tried again in a clean container environment and still: no backtraces. For testing purposes I added some lines that produce a segfault. |
I have RelWithDebInfo in my colcon defaults. Maybe you can try that instead of the compile options flag. |
I also tried that but it didn't work. I have the feeling it something about the backward_ros package in iron. What I did now is follow the guide the backward_cpp package: https://github.com/bombela/backward-cpp and directly include it via FetchContent. |
Hi! I also don't seem to have stacktraces anymore when using this package, maybe some system dependency broke in the past months? I pushed a ros node here which is just the default from Some version information:
from compile_commands.json:
from cmake
Edit: While this is the case in iron, the backtrace is produced as expected in jazzy... |
Hi @ottojo if you need the stacktrace in iron. This is how I managed to get one: |
Hello @ottojo! We have found a small issue and we are on the way to fix it. Probably, today you should have it. I'll make releases to have it in Iron before it's EOL |
Hello All! The issue is fixed and released to all ROS 2 Distros. Sorry for not getting back to it earlier. I'll go ahead and close this issue for now. If the issue persists feel free to open a new issue or reopen this one. Thank you, Best Regards, |
Hi, I am look for some help how to integrate this package.
System
Ubuntu 22.04
Ros2 Iron
backward_ros: 1.0.5
Setup
I added
<depend>backward_ros</depend>
to mypackage.xml
.And
find_package(backward_ros REQUIRED)
Additionally I set
target_compile_options(my_node PRIVATE "-g")
just to make sure that it compiles with debug information.Unfortunately this doesn't work. I tried the advice from #13 to include
find_package(Backward)
but that still doesn't work.This is the output of cmake:
@christophfroehlich I realized a while ago that also the
controller_manager
does not print stacktraces anymore. So it might that a dependency has changed, or my system is broken ?The text was updated successfully, but these errors were encountered: