HF RL Explorer

lightningd crash on startup due to trace assertion when no span is active

lightningd crash on startup due to trace assertion when no span is active: a task in LegoFlow-SWE (Harbor dataset). This happens during database initialisation because trace span tag is called without an active trace span. The call path originates from db query prepared canfail , which starts a…

The task

This happens during database initialisation because `trace_span_tag` is called without an active trace span. The call path originates from `db_query_prepared_canfail`, which starts a span using the prepared statement pointer as key, but then tags the span using an unrelated local variable. That key mismatch causes…

Part of Lego-X/LegoFlow-SWE.