Skip to content

[pull] master from PowerDNS:master#807

Merged
pull[bot] merged 4 commits into
Kiterepo:masterfrom
PowerDNS:master
May 15, 2026
Merged

[pull] master from PowerDNS:master#807
pull[bot] merged 4 commits into
Kiterepo:masterfrom
PowerDNS:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 15, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

hlindqvist and others added 4 commits May 14, 2026 17:59
This aligns the note in the lmdb-map-size section better
with how lmdb-map-size and lmdb-shards-map-size actually
interact.

Signed-off-by: Håkan Lindqvist <h@qw.se>
…cation

Clarify the documentation regarding lmdb-shards-map-size
Reported by `ylwango613`, many thanks:
"When the operator enables OpenTelemetry tracing (the documented, supported features setOpenTelemetryTracing(true) plus SetTraceAction(true)), every incoming query passes through selectBackendForOutgoingQuery() in pdns/dnsdistdist/dnsdist.cc.

That function unconditionally dereferences the SelectedBackend returned by the load balancing policy in order to attach backend.name and backend.id attributes to the trace span. It does so without first checking that a backend was actually selected. When no backend is available (empty pool, all backends down, or a Lua policy returned std::nullopt), the SelectedBackend wraps an empty std::optional<unsigned int>, and SelectedBackend::operator->() evaluates *d_selected on a disengaged optional. This is undefined behavior, and in practice it terminates the dnsdist process either via a _GLIBCXX_ASSERTIONS abort or via a segmentation fault on a release build."

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
dnsdist: Fix a crash when OpenTelemetry tracing is enabled
@pull pull Bot locked and limited conversation to collaborators May 15, 2026
@pull pull Bot added the ⤵️ pull label May 15, 2026
@pull pull Bot merged commit f4e81c1 into Kiterepo:master May 15, 2026
12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants