Skip to content
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

fix: remove ScopedTimeTrack which causes goal planner crash #1599

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

XiaoyuWang0601
Copy link

Description

Crash happened in goal planner from X2 v3.1.1.

[component_container_mt-6] [ERROR 1729579718.156755464] [lanelet2_extension] getExpandedLanelet(): "Fail to expand lanelet. output may be undesired. Lanelet points interval in map data could be too narrow." at (/home/autoware/autoware.proj/src/autoware/common/tmp/lanelet2_extension/lib/utilities.cpp:L437)
[component_container_mt-6] [ERROR 1729579719.252083043] [lanelet2_extension] getExpandedLanelet(): "Fail to expand lanelet. output may be undesired. Lanelet points interval in map data could be too narrow." at (/home/autoware/autoware.proj/src/autoware/common/tmp/lanelet2_extension/lib/utilities.cpp:L437)
[component_container_mt-6] terminate called after throwing an instance of 'std::runtime_error'
[component_container_mt-6]   what():  You must call end_track(updateData) first, but end_track(isSafePath) is called
[component_container_mt-6] *** Aborted at 1729579720 (unix time) try "date -d @1729579720" if you are using GNU date ***
[component_container_mt-6] PC: @                0x0 (unknown)
[component_container_mt-6] *** SIGABRT (@0x3e80000e170) received by PID 57712 (TID 0x7fdd5a7f4640) from PID 57712; stack trace: ***
[component_container_mt-6]     @     0x7fdd697af4d6 google::(anonymous namespace)::FailureSignalHandler()
[component_container_mt-6]     @     0x7fdd6905f520 (unknown)
[component_container_mt-6]     @     0x7fdd690b39fc pthread_kill
[component_container_mt-6]     @     0x7fdd6905f476 raise
[component_container_mt-6]     @     0x7fdd690457f3 abort
[component_container_mt-6]     @     0x7fdd6930ab9e (unknown)
[component_container_mt-6]     @     0x7fdd6931620c (unknown)
[component_container_mt-6]     @     0x7fdd693151e9 (unknown)
[component_container_mt-6]     @     0x7fdd69315959 __gxx_personality_v0
[component_container_mt-6]     @     0x7fdd6925e884 (unknown)
[component_container_mt-6]     @     0x7fdd6925ef41 _Unwind_RaiseException
[component_container_mt-6]     @     0x7fdd693164cb __cxa_throw
[component_container_mt-6]     @     0x7fdd3bca6a07 _ZN8autoware14universe_utils10TimeKeeper9end_trackERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.cold
[component_container_mt-6]     @     0x7fdd3bcb9d94 autoware::universe_utils::ScopedTimeTrack::~ScopedTimeTrack()
[component_container_mt-6]     @     0x7fdd3abdfc75 autoware::behavior_path_planner::GoalPlannerModule::isSafePath()
[component_container_mt-6]     @     0x7fdd3abe0d39 autoware::behavior_path_planner::GoalPlannerModule::checkDecidingPathStatus()
[component_container_mt-6]     @     0x7fdd3abe2047 autoware::behavior_path_planner::GoalPlannerModule::hasDecidedPath()
[component_container_mt-6]     @     0x7fdd3abe3d29 autoware::behavior_path_planner::GoalPlannerModule::onTimer()
[component_container_mt-6]     @     0x7fdd3abea995 rclcpp::GenericTimer<>::execute_callback()
[component_container_mt-6]     @     0x7fdd6962cffe rclcpp::Executor::execute_any_executable()
[component_container_mt-6]     @     0x7fdd69633432 rclcpp::executors::MultiThreadedExecutor::run()
[component_container_mt-6]     @     0x7fdd69344253 (unknown)
[component_container_mt-6]     @     0x7fdd690b1ac3 (unknown)
[component_container_mt-6]     @     0x7fdd69143850 (unknown)
[ERROR] [component_container_mt-6]: process has died [pid 57712, exit code -6, cmd '/home/autoware/autoware.proj/install/rclcpp_components/lib/rclcpp_components/component_container_mt --ros-args -r __node:=behavior_planning_container -r __ns:=/planning/scenario_planning/lane_driving/behavior_planning -p use_sim_time:=False -p wheel_radius:=0.3725 -p wheel_width:=0.215 -p wheel_base:=4.76 -p wheel_tread:=1.754 -p front_overhang:=0.9154 -p rear_overhang:=1.498 -p left_overhang:=0.273 -p right_overhang:=0.273 -p vehicle_height:=3.06 -p max_steer_angle:=0.618'].

autowarefoundation#8780
autowarefoundation#8610
These two PRs above are mentioned by planning team, which are merged into autoware.universe from autoware foundation, but not synchronized in beta/v0.29.0-1 from tier4/autoware.universe.

This PR synchronizes beta/v0.29.0-1 with these two fixes.

Related links

Parent Issue:

Related ticket

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Copy link

sonarcloud bot commented Oct 23, 2024

Copy link

@saka1-s saka1-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you.

@saka1-s saka1-s merged commit fdd665d into beta/v0.29.0-1 Oct 23, 2024
20 of 22 checks passed
@saka1-s saka1-s deleted the fix/goal_palnner_crash branch October 23, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants