Skip to content

[core][promise-based-filter] Fix for metadata nullptr crash on repoll - #43037

Closed
pawbhard wants to merge 2 commits into
grpc:masterfrom
pawbhard:promise_crash_fix
Closed

pawbhard wants to merge 2 commits into
grpc:masterfrom
pawbhard:promise_crash_fix

Conversation

@pawbhard

Copy link
Copy Markdown
Contributor

No description provided.

@pawbhard pawbhard self-assigned this Jul 21, 2026
@pawbhard pawbhard added the release notes: no Indicates if PR should not be in release notes label Jul 21, 2026
// this factory run exactly once, and subsequent
// polls only execute the trivial,
// side-effect-free inner lambda.
return []() -> Poll<ServerMetadataHandle> {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It might be better to use Never promise here. We already have a construct for this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@markdroth markdroth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the fix!

grohman-hub pushed a commit to grohman-hub/grpc that referenced this pull request Jul 23, 2026
…grpc#43037)

Closes grpc#43037

COPYBARA_INTEGRATE_REVIEW=grpc#43037 from pawbhard:promise_crash_fix caa25b3
PiperOrigin-RevId: 952010963
grohman-hub pushed a commit to grohman-hub/grpc that referenced this pull request Jul 23, 2026
…grpc#43037)

Closes grpc#43037

COPYBARA_INTEGRATE_REVIEW=grpc#43037 from pawbhard:promise_crash_fix caa25b3
PiperOrigin-RevId: 952010963
grohman-hub added a commit to grohman-hub/grpc that referenced this pull request Jul 27, 2026
* upstream/master:
  [PSM Interop] : add cleanup for the orphaned resources left for SPIFFE cluster. (grpc#43038)
  [PH2][Trivial] Build (grpc#43069)
  [PH2][Bug][Client] Bug fix
  [Security] Plumb SSL key exchange group to auth context. (grpc#42917)
  [CI] Update debian-based docker images to use cmake 3.25. (grpc#42795)
  [xDS e2e tests] clean up API for verifying server status notification changes (grpc#43052)
  Clamp PosixEndpointImpl adaptive read target to max read chunk size (grpc#42234)
  [tls] Move to grpc_core::PemKeyCertPair and grpc_core::KeyCertPairsOrSelector (grpc#42992)
  [build] Add grpc-proto submodule (grpc#43035)
  fix detecting the number of online CPU (grpc#41585)
  [core][promise-based-filter] Fix for metadata nullptr crash on repoll (grpc#43037)
  skip tls1.3 and <1.1.1 in telemetry test (grpc#43042)
@pawbhard
pawbhard deleted the promise_crash_fix branch October 24, 2026 10:49
asheshvidyut pushed a commit to PeterZhizhin/grpc that referenced this pull request Nov 12, 2026
…grpc#43037)

Closes grpc#43037

COPYBARA_INTEGRATE_REVIEW=grpc#43037 from pawbhard:promise_crash_fix caa25b3
PiperOrigin-RevId: 952010963
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.

5 participants