Skip to content

[Backport 2.35-maintenance] Add boost.context patch for std::uncaught_exceptions() misreporting 0 while abandoning the coroutine - #16240

Merged
internal-nix-ci[bot] merged 3 commits into
2.35-maintenancefrom
backport-16197-to-2.35-maintenance
Jul 29, 2026

Conversation

@internal-nix-ci

Copy link
Copy Markdown

Automatic backport to 2.35-maintenance, triggered by a label in #16197.

xokdvium added 3 commits July 29, 2026 21:47
This surfaces the bug fixed by boostorg/context#337 in
our test suite.

(cherry picked from commit 88579a8)
… while abandoning the coroutine

Applies a patch to our boost.context dependency to fix
#16174. An alternative would be to
apply basically the same workaround to our suspension points, but that
would be more fragile. Other packagers might want to apply the boost
patch too (maybe once that's merged upstream), since the issue is likely
to affect more stuff than just nix.

The bug is subtle enough that it went unnoticed for quite some time.

(cherry picked from commit f8b102f)
@internal-nix-ci
internal-nix-ci Bot requested a review from edolstra as a code owner July 29, 2026 21:47
@internal-nix-ci
internal-nix-ci Bot enabled auto-merge July 29, 2026 21:47
@internal-nix-ci
internal-nix-ci Bot merged commit c6a03dd into 2.35-maintenance Jul 29, 2026
16 checks passed
@internal-nix-ci
internal-nix-ci Bot deleted the backport-16197-to-2.35-maintenance branch July 29, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant