Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@monojenkins
Copy link
Contributor

install_state_summarizer installs a SIGTERM handler. Unfortunately sigterm_signal_handler assumes that it will only be called when a crash is already in progress (it assumes it won't be the supervisor, and so it doesn't setup the memory for capturing a crash report among other things).

Addresses #17271

Backport of #17296.

/cc @lambdageek

install_state_summarizer installs a SIGTERM handler. Unfortunately
sigterm_signal_handler assumes that it will only be called when a crash is
already in progress (it assumes it won't be the supervisor, and so it doesn't
setup the memory for capturing a crash report among other things).
Previously it was installed by EnableMicrosoftTelemetry, which is too early.
Now we get here without a handler installed even when mono_merp_enabled returns true.
@monojenkins monojenkins added this to the 2019-08 (6.6.xx) milestone Oct 14, 2019
@lambdageek lambdageek changed the title [2019-08] [2019-06][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry [2019-08][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry Oct 14, 2019
@Aguilex
Copy link

Aguilex commented Oct 14, 2019

after discussing with Marek, Lluis, Kyle, Aleksey, Jose Miguel, and I, earlier today, we agreed that this is urgently needed for VSM 8.4 P1

@marek-safar marek-safar merged commit 3009440 into mono:2019-08 Oct 14, 2019
@marek-safar
Copy link
Member

Merging (it does not affect Windows)

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.

4 participants