[Humble] Regression in tf2 0.25.21-0.25.23: process-wide stall after transient TF starvation (buffer never recovers)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Reproduce the stall with ROS 2 Humble and tf2 0.25.23, then compare behavior with the pinned 0.25.20 packages. Inspect the tf2 and tf2_ros changes between 0.25.20 and 0.25.23, focusing on the transient TF-starvation path. Done means the buffer and hosting component process resume normal TF and non-TF callback delivery after starvation without a restart.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug report
Environment
- ROS 2 Humble, Ubuntu 22.04 (jammy), amd64, Docker containers with
network_mode: host rmw_cyclonedds_cpp(reproduced with both 1.3.4 and 1.3.5; RMW ruled out, see bisection)- Nav2 1.1.20 from apt, running in
component_container_isolated(amcl, costmaps, collision monitor, planner, controller, etc. in one process) - Affected:
ros-humble-tf2 0.25.23-1jammy.20260907.213559(+ family) - Healthy:
ros-humble-tf2 0.25.20-2jammy.20260605.130708(+ family) - Indoor delivery robots (differential drive), WiFi networking, TF tree at ~10–20 Hz (odom→base from EKF, map→odom from AMCL)
Symptom
With tf2 0.25.23, within 1–3 minutes of driving, the whole nav2 component container process enters a permanent stall of message delivery:
- local costmap's TF listener stops ingesting
/tf:getRobotPosekeeps returning the pose from the stall instant (published footprint frozen at a stale pose while live TF moves on); - costmap filter logs
Lookup would require extrapolation into the future ... the latest data is at time <T>where<T>is one frozen timestamp repeated hundreds of times per minute; - AMCL stops broadcasting map→odom (its last transform carries the same frozen stamp
<T>); - notably, non-TF subscriptions of the same process stall too: the collision monitor stops reacting to its
cmd_velinput topic while the publisher keeps publishing at 15–20 Hz.
A freshly started node in the same container sees live /tf and all topics normally. Only restarting the process recovers. Nothing is logged at the stall instant.
Trigger
The environment occasionally produces short TF starvation while driving (WiFi hiccups; map→odom lags ~5 s). With tf2 0.25.20 these episodes self-heal (we see two ~5 s bursts of the same extrapolation error, then normal operation). With 0.25.23 an episode appears to wedge the process permanently — the frozen stamps in the log match the moment of such an episode. This looks like a lock/wait introduced between 0.25.20 and 0.25.23 that can deadlock or permanently block an executor thread, starving the process's callbacks.
Bisection matrix (two identical robots, same configs; only image contents varied)
| tf2 | rmw_cyclonedds_cpp | everything else | result |
|---|---|---|---|
| 0.25.20 | 1.3.4 | June sync (reference robot) | healthy, weeks of operation |
| 0.25.23 | 1.3.5 | Sept sync | permanent stall in 1–3 min of driving, reproduced 4+ times |
| 0.25.23 | 1.3.4 (pinned) | Sept sync | permanent stall (RMW ruled out) |
| 0.25.20 (image from reference robot) | 1.3.4 | June sync binaries + current configs | healthy, real delivery run |
| 0.25.20 (pinned .debs only) | 1.3.5 | Sept sync | healthy, real delivery run |
Additional data point: the reference robot runs tf2_ros 0.25.22 with tf2 0.25.20 and is healthy — so the suspect range is the tf2 core changes in 0.25.21–0.25.23, or tf2_ros exactly 0.25.23.
Expected behavior
Transient TF starvation must not permanently stall the buffer or the hosting process; 0.25.20 recovers within seconds on identical hardware/network.
Workaround
Pinning the tf2 family to 0.25.20 (.debs from the 2026-07-02 snapshot) on top of an otherwise current Humble install.
Happy to test patches or provide detailed logs / reproduction help.
- Lingua principale
- C++
- Stelle
- 157
- Fork
- 265
- Merge medio
- 13h 41m
- PR unite (30g)
- 7
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ros2/geometry2
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ros2/geometry2#1014 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
canTransform() returns true but lookupTransform() throws "Static cache is empty" after clear() (crashes Viz on Reset)Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Behavior change on Lyrical: static transforms are cleared by BufferCore::clear() (RViz Reset)Forse già presa @tfoote l’ha presa 34 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ros2/geometry2#992 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Transform lookup with per-edge latest fallbackForse di nuovo libera @aarushjain355 l’ha presa 77 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ros2/geometry2#981 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ros2/geometry2
Issue simili
-
arch-based bug niri
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
noctalia-dev/noctalia#5552 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
EchoTools/nevr-runtime#2912 ·
I maintainer di solito rispondono entro 1 giorno
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
yugabyte/yugabyte-db#39462 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
meshtastic/firmware#12519 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno