Skip to content

[Backport 2.32-maintenance] libutil: Print stack trace on assertion failure#14213

Merged
internal-nix-ci[bot] merged 1 commit into2.32-maintenancefrom
backport-14194-to-2.32-maintenance
Oct 11, 2025
Merged

[Backport 2.32-maintenance] libutil: Print stack trace on assertion failure#14213
internal-nix-ci[bot] merged 1 commit into2.32-maintenancefrom
backport-14194-to-2.32-maintenance

Conversation

@internal-nix-ci
Copy link

Automatic backport to 2.32-maintenance, triggered by a label in #14194.

This change overrides __assert_fail on glibc/musl
to instead call std::terminate that we have a custom
handler for. This ensures that we have more context
to diagnose issues encountered by users in the wild.

(cherry picked from commit 46382ad)
@internal-nix-ci internal-nix-ci bot requested a review from edolstra as a code owner October 11, 2025 00:08
@internal-nix-ci internal-nix-ci bot enabled auto-merge October 11, 2025 00:08
@internal-nix-ci internal-nix-ci bot merged commit a25a219 into 2.32-maintenance Oct 11, 2025
19 checks passed
@internal-nix-ci internal-nix-ci bot deleted the backport-14194-to-2.32-maintenance branch October 11, 2025 00:40
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