Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SignalHandler get_global_signal_handler to avoid complex types in static memory (backport #2316) #2321

Merged
merged 1 commit into from Oct 4, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 30, 2023

This is an automatic backport of pull request #2316 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

… in static memory (#2316)

* Update SignalHandler get_global_signal_handler to avoid complex types in static memory

This was flagged by msan as a problem.

There's a description of why this is a potential problem here: https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables

Signed-off-by: Tully Foote <tullyfoote@intrinsic.ai>
Co-authored-by: William Woodall <william+github@osrfoundation.org>
(cherry picked from commit 7c1143d)
@tfoote
Copy link
Contributor

tfoote commented Sep 30, 2023

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@tfoote tfoote self-assigned this Oct 3, 2023
@tfoote tfoote merged commit adfc546 into humble Oct 4, 2023
2 of 3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the mergify/bp/humble/pr-2316 branch October 4, 2023 08:03
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.

None yet

1 participant