-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Crash during planning if goal is set for the second time #4138
Comments
from the same node
|
I have added some log into |
Thank you for reporting the issue and for the initial investigation. <node_container pkg="rclcpp_components" exec="$(var container_type)" name="behavior_planning_container" namespace="" args="" output="screen" launch-prefix="gnome-terminal -- gdb -ex run --args"> You should also make sure you build the
If you now reproduce the issue, you should be able to use |
Thanks for the comment, the crash is not related to the map, I uploaded a screenshot of the crash on the original map from autoware installation.
|
I cannot reproduce the issue and I can think of 2 possible reasons:
Please check 1 and I will check 2.
There are safeguards to disable the autonomous mode if a module takes too much time to publish its output. With a delay of 20s it is expected that the autonomous mode will be disabled. |
I have been able to reproduce the issue with Eprosima DDS.
The issue does not seem to occur when launching the More investigation will be required and in the meantime I recommend using another DDS if you can. |
Can you share how should I do this? I'm considering the same solution but don't know how to change the startup scripts/configs. |
Here is a commit with the change: maxime-clem/autoware.universe@8856575 |
there seems to be a similar issue at autowarefoundation/autoware.universe#5221 (comment), I'm not very sure if DDS is the root cause. btw, can some one move this issue to |
@felixf4xu I do not think this issue is solved. Did you close it to move it to the |
@maxime-clem yes I know it's not solved, but I didn't see any more actions taken, so I think it's better to close it. I also see you linked this issue to For anyone else interested, my current workaround is using |
Hello,have you solved this problem? I have encountered this problem as well, but it only occurs occasionally without a specific trigger scenario. I have setted RMW_IMPLEMENTATION=rmw_cyclonedds_cpp |
Can we merge this commit? I have several dev environment (different PC hardware, Ubuntu version, docker, none-docker) all have the crash issue and the workaround in the commit is the only way to fix it. |
The node container is used for performance reasons so I do not think we want to merge that commit sorry. |
@felixf4xu the issue seemed to be coming from |
@felixf4xu I tested with a locally build |
Great, thanks! |
Checklist
Description
Hi,
I had a crash during planning (using simple simulator) test. I debugged it for 2 days but had no clue, I'd like to seek any help if possible.
the route with color is the first route, which is ok.
Then I changed the goal position to the next lane (as show in the picture, just one lane upward), there is a crash.
Expected behavior
no crash
Actual behavior
Steps to reproduce
-> the "Auto" button is disabled
-> there is a crash log in the terminal, as showed above.
Versions
os: ubuntu 22
ros2: humber
autoware: main branch
Possible causes
From the crash log, it seems some pointer is access but it is not valid.
The call stack is all for ros/dds, I didn't see my code. I can attach GDB to the node, but from gdb/backtrace, I don't see my code in the stack.
If I comment out line 446 of behavior_path_planner_node.cpp
it will not crash but of course autoware will not enter autonomous state either.
Additional context
No response
The text was updated successfully, but these errors were encountered: