You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nav2’s Rolling CI started failing with GCC 15 due to a -Wnull-dereference warning coming from thread_safe_signal.h. Since we build with -Werror, this breaks our BT node builds, and it should hit anyone else downstream compiling with the same flags.
In member function 'std::__weak_ptr<_Tp, _Lp>& std::__weak_ptr<_Tp, _Lp>::operator=(const std::__weak_ptr<_Tp, _Lp>&) [with _Tp = BT::ThreadSafeSignal<>::Subscription; ...]',
...
inlined from 'void BT::ThreadSafeSignal<CallableArgs>::notify(CallableArgs ...) [with CallableArgs = {}]' at /opt/ros/rolling/include/behaviortree_cpp/utils/thread_safe_signal.h:52:19:
/usr/include/c++/15/bits/shared_ptr_base.h:2039:7: error: potential null pointer dereference [-Werror=null-dereference]
Activity
SteveMacenski commentedon Nov 10, 2026
Example from Nav2 CI: https://app.circleci.com/pipelines/github/ros-navigation/navigation2/20894/workflows/59d58163-6fb9-445d-b8cf-393fce4225e8/jobs/67662
sloretz commentedon Nov 12, 2026
This also appears to break the build of
nav2_behavior_treein ROS Lyrical.SteveMacenski commentedon Nov 12, 2026
@facontidavide can we get a new bloom release on rolling/lyrical?
facontidavide commentedon Nov 12, 2026
fixed. I will bloom it
Fix GCC 15 -Wnull-dereference in public headers; always build with -W…