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

[merp] mono_summarize_unmanaged_stack tries to take a lock while calling decode_exception_debug_info #17180

Closed
CoffeeFlux opened this issue Oct 3, 2019 · 3 comments · Fixed by #17194

Comments

@CoffeeFlux
Copy link
Member

@CoffeeFlux CoffeeFlux commented Oct 3, 2019

Probably could be better titled but I haven't looked at what exactly is going on.

Job: https://jenkins.mono-project.com/job/test-mono-pull-request-i386/30466/

Error: mono_coop_mutex_lock Cannot transition thread 0xf7cae700 from STATE_BLOCKING with DO_BLOCKING

Relevant part of the stack trace: https://gist.github.com/CoffeeFlux/31704a1568f8a230cf6ecef0b17ccefd

From slack:

Aleksey Kliger Oh no - it's allocating (and trying to take a domain lock in the crash reporter)

@CoffeeFlux

This comment has been minimized.

Copy link
Member Author

@CoffeeFlux CoffeeFlux commented Oct 3, 2019

I've now seen this on two separate PRs when I hadn't seen it before, so this might be a fairly recent regression. Triggered by MonoTests.System.ExceptionTest.DumpICallTotalAsync on Linux i386. cc @alexischr

@lambdageek

This comment has been minimized.

Copy link
Member

@lambdageek lambdageek commented Oct 3, 2019

We need to mono_thread_info_set_is_async_context (TRUE) somewhere around mono_summarize_unmanaged_stack. Or possibly even earlier in the callstack in sigterm_signal_handler

@lambdageek

This comment has been minimized.

Copy link
Member

@lambdageek lambdageek commented Oct 3, 2019

Yea this is probably recent due to #17090

@lambdageek lambdageek changed the title CI crash: mono_coop_mutex_lock Cannot transition thread from STATE_BLOCKING with DO_BLOCKING [merp] mono_summarize_unmanaged_stack tries to take a lock while calling decode_exception_debug_info Oct 3, 2019
lambdageek added a commit to lambdageek/mono that referenced this issue Oct 4, 2019
Followup work for mono#17090

In order to get managed method info for unmanaged stacktraces, we call
mini_jit_info_table_find_ext which calls decode_exception_debug_info which may
allocate if it's not in async context.

Do the switch in mono_threads_summarize_execute so that non-supervising threads
all switch when they run the sigterm_signal_handler.  mono_threads_summarize
already does it for the supervisor thread.

Fixes mono#17180
monojenkins added a commit to monojenkins/mono that referenced this issue Oct 5, 2019
Followup work for mono#17090

In order to get managed method info for unmanaged stacktraces, we call
mini_jit_info_table_find_ext which calls decode_exception_debug_info which may
allocate if it's not in async context.

Do the switch in mono_threads_summarize_execute so that non-supervising threads
all switch when they run the sigterm_signal_handler.  mono_threads_summarize
already does it for the supervisor thread.

Fixes mono#17180
lambdageek added a commit that referenced this issue Oct 5, 2019
Followup work for #17090

In order to get managed method info for unmanaged stacktraces, we call
mini_jit_info_table_find_ext which calls decode_exception_debug_info which may
allocate if it's not in async context.

Do the switch in mono_threads_summarize_execute so that non-supervising threads
all switch when they run the sigterm_signal_handler.  mono_threads_summarize
already does it for the supervisor thread.

Fixes #17180
monojenkins added a commit that referenced this issue Oct 5, 2019
[2019-08] [merp] Put thread into async context before running summarizer

Followup work for #17090

In order to get managed method info for unmanaged stacktraces, we call
`mini_jit_info_table_find_ext` which calls `decode_exception_debug_info` which may
allocate if it's not in async context.

Do the switch in `mono_threads_summarize_execute` so that non-supervising threads
all switch when they run the `sigterm_signal_handler`.  `mono_threads_summarize`
already does it for the supervisor thread.

Fixes #17180



Backport of #17194.

/cc @lambdageek
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Oct 10, 2019
Changes: mono/mono@5281037...7dbad3c

Context: mono/mono#7377
Context: mono/mono#16570
Context: mono/mono#17004
Context: mono/mono#17151
Context: mono/mono#17180

  * mono/mono@7dbad3c: [arm] Fix fetching of method addresses (#17253)
  * mono/mono@9a88a36: [sgen] Fix invalid value passed to write barrier (#17247)
  * mono/mono@0f241c9: [2019-08] Add drawing type converters to mobile profiles (#17240)
  * mono/mono@7ebe1a1: Update Roslyn to 3.4.0-beta2-19477-01
  * mono/mono@b759449: Bump msbuild to track mono-2019-08
  * mono/mono@617f399: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211)
  * mono/mono@77258ea: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202)
  * mono/mono@f83c321: Bump msbuild to track mono-2019-08 (#17193)
  * mono/mono@1ecd094: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077)
  * mono/mono@54a33be: [merp] Put thread into async context before running summarizer (#17197)
  * mono/mono@72128bb: Bump libgdiplus to 6.0.4
  * mono/mono@65a972c: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184)
  * mono/mono@9e6def1: [merp] exit_status is 0 if we ran the uploader successfully (#17187)
  * mono/mono@8a707cc: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189)
  * mono/mono@bd72952: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178)
  * mono/mono@b6efc0c: Bump msbuild to track xplat-master (#17132)
  * mono/mono@2869cd5: Bump ikvm to get mono/ikvm-fork#13 (#17170)
  * mono/mono@a64a256: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147)
  * mono/mono@57f0684: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Oct 11, 2019
Changes: mono/mono@5281037...df5e13f

Context: mono/mono#7377
Context: mono/mono#16570
Context: mono/mono#17004
Context: mono/mono#17151
Context: mono/mono#17180

  * mono/mono@df5e13f: [tests] Bump corefx to get Azure testhost change (#17275)
  * mono/mono@11e1499: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220)
  * mono/mono@7dbad3c: [arm] Fix fetching of method addresses (#17253)
  * mono/mono@9a88a36: [sgen] Fix invalid value passed to write barrier (#17247)
  * mono/mono@0f241c9: [2019-08] Add drawing type converters to mobile profiles (#17240)
  * mono/mono@7ebe1a1: Update Roslyn to 3.4.0-beta2-19477-01
  * mono/mono@b759449: Bump msbuild to track mono-2019-08
  * mono/mono@617f399: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211)
  * mono/mono@77258ea: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202)
  * mono/mono@f83c321: Bump msbuild to track mono-2019-08 (#17193)
  * mono/mono@1ecd094: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077)
  * mono/mono@54a33be: [merp] Put thread into async context before running summarizer (#17197)
  * mono/mono@72128bb: Bump libgdiplus to 6.0.4
  * mono/mono@65a972c: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184)
  * mono/mono@9e6def1: [merp] exit_status is 0 if we ran the uploader successfully (#17187)
  * mono/mono@8a707cc: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189)
  * mono/mono@bd72952: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178)
  * mono/mono@b6efc0c: Bump msbuild to track xplat-master (#17132)
  * mono/mono@2869cd5: Bump ikvm to get mono/ikvm-fork#13 (#17170)
  * mono/mono@a64a256: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147)
  * mono/mono@57f0684: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
lambdageek added a commit to lambdageek/mono that referenced this issue Oct 11, 2019
[merp] Put thread into async context before running summarizer

Followup work for mono#17090

In order to get managed method info for unmanaged stacktraces, we call
`mini_jit_info_table_find_ext` which calls `decode_exception_debug_info` which may
allocate if it's not in async context.

Do the switch in `mono_threads_summarize_execute` so that non-supervising threads
all switch when they run the `sigterm_signal_handler`.  `mono_threads_summarize`
already does it for the supervisor thread.

Fixes mono#17180

Backport of mono#17194.

/cc @lambdageek
monojenkins added a commit to monojenkins/mono that referenced this issue Oct 14, 2019
[merp] Put thread into async context before running summarizer

Followup work for mono#17090

In order to get managed method info for unmanaged stacktraces, we call
`mini_jit_info_table_find_ext` which calls `decode_exception_debug_info` which may
allocate if it's not in async context.

Do the switch in `mono_threads_summarize_execute` so that non-supervising threads
all switch when they run the `sigterm_signal_handler`.  `mono_threads_summarize`
already does it for the supervisor thread.

Fixes mono#17180

Backport of mono#17194.

/cc @lambdageek
marek-safar added a commit that referenced this issue Oct 14, 2019
…etry (#17296)

* [merp] Put thread into async context before running summarizer

[merp] Put thread into async context before running summarizer

Followup work for #17090

In order to get managed method info for unmanaged stacktraces, we call
`mini_jit_info_table_find_ext` which calls `decode_exception_debug_info` which may
allocate if it's not in async context.

Do the switch in `mono_threads_summarize_execute` so that non-supervising threads
all switch when they run the `sigterm_signal_handler`.  `mono_threads_summarize`
already does it for the supervisor thread.

Fixes #17180

Backport of #17194.

/cc @lambdageek

* [merp] Don't call install_state_summarizer in EnableMicrosoftTelemetry

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).

* [merp] Register SIGTERM handler in dump_native_stacktrace

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.
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Oct 16, 2019
Changes: mono/mono@5281037...df5e13f

Context: mono/mono#7377
Context: mono/mono#16570
Context: mono/mono#17004
Context: mono/mono#17151
Context: mono/mono#17180

  * mono/mono@df5e13f: [tests] Bump corefx to get Azure testhost change (#17275)
  * mono/mono@11e1499: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220)
  * mono/mono@7dbad3c: [arm] Fix fetching of method addresses (#17253)
  * mono/mono@9a88a36: [sgen] Fix invalid value passed to write barrier (#17247)
  * mono/mono@0f241c9: [2019-08] Add drawing type converters to mobile profiles (#17240)
  * mono/mono@7ebe1a1: Update Roslyn to 3.4.0-beta2-19477-01
  * mono/mono@b759449: Bump msbuild to track mono-2019-08
  * mono/mono@617f399: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211)
  * mono/mono@77258ea: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202)
  * mono/mono@f83c321: Bump msbuild to track mono-2019-08 (#17193)
  * mono/mono@1ecd094: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077)
  * mono/mono@54a33be: [merp] Put thread into async context before running summarizer (#17197)
  * mono/mono@72128bb: Bump libgdiplus to 6.0.4
  * mono/mono@65a972c: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184)
  * mono/mono@9e6def1: [merp] exit_status is 0 if we ran the uploader successfully (#17187)
  * mono/mono@8a707cc: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189)
  * mono/mono@bd72952: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178)
  * mono/mono@b6efc0c: Bump msbuild to track xplat-master (#17132)
  * mono/mono@2869cd5: Bump ikvm to get mono/ikvm-fork#13 (#17170)
  * mono/mono@a64a256: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147)
  * mono/mono@57f0684: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Oct 16, 2019
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Oct 16, 2019
Changes: mono/mono@5281037...3eb5f34

Fixes: xamarin#3726

Context: mono/mono@0f241c9
Context: mono/mono#7377
Context: mono/mono#16570
Context: mono/mono#17004
Context: mono/mono#17151
Context: mono/mono#17180

  * mono/mono@3eb5f34: [GTK] Bump bockbuild for GtkViewport autoscrolling patch. (#17321)
  * mono/mono@b601371: Update MERP event type to MonoAppCrash
  * mono/mono@6184ff0: [2019-08][ci] Use Xcode11.1 and 11.2beta2 for XI/XM Mono SDK builds (#17324)
  * mono/mono@8969f2c: [2019-08] [merp] Include any managed methods in the 'unmanaged_frames' portion (#17316)
  * mono/mono@3009440: [2019-08][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry (#17308)
  * mono/mono@df5e13f: [tests] Bump corefx to get Azure testhost change (#17275)
  * mono/mono@11e1499: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220)
  * mono/mono@7dbad3c: [arm] Fix fetching of method addresses (#17253)
  * mono/mono@9a88a36: [sgen] Fix invalid value passed to write barrier (#17247)
  * mono/mono@0f241c9: [2019-08] Add drawing type converters to mobile profiles (#17240)
  * mono/mono@7ebe1a1: Update Roslyn to 3.4.0-beta2-19477-01
  * mono/mono@b759449: Bump msbuild to track mono-2019-08
  * mono/mono@617f399: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211)
  * mono/mono@77258ea: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202)
  * mono/mono@f83c321: Bump msbuild to track mono-2019-08 (#17193)
  * mono/mono@1ecd094: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077)
  * mono/mono@54a33be: [merp] Put thread into async context before running summarizer (#17197)
  * mono/mono@72128bb: Bump libgdiplus to 6.0.4
  * mono/mono@65a972c: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184)
  * mono/mono@9e6def1: [merp] exit_status is 0 if we ran the uploader successfully (#17187)
  * mono/mono@8a707cc: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189)
  * mono/mono@bd72952: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178)
  * mono/mono@b6efc0c: Bump msbuild to track xplat-master (#17132)
  * mono/mono@2869cd5: Bump ikvm to get mono/ikvm-fork#13 (#17170)
  * mono/mono@a64a256: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147)
  * mono/mono@57f0684: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Oct 16, 2019
Changes: https://github.com/mono/mono/compare/528103728fc2aedb7b6062e11255d39a0ed3f31c... df5e13f95df7a2d11d86904e74b1bd8950c9d43b

Fixes: #3726

Context: mono/mono@0f241c9
Context: mono/mono#7377
Context: mono/mono#16570
Context: mono/mono#17004
Context: mono/mono#17151
Context: mono/mono#17180

  * mono/mono@df5e13f: [tests] Bump corefx to get Azure testhost change (#17275)
  * mono/mono@11e1499: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220)
  * mono/mono@7dbad3c: [arm] Fix fetching of method addresses (#17253)
  * mono/mono@9a88a36: [sgen] Fix invalid value passed to write barrier (#17247)
  * mono/mono@0f241c9: [2019-08] Add drawing type converters to mobile profiles (#17240)
  * mono/mono@7ebe1a1: Update Roslyn to 3.4.0-beta2-19477-01
  * mono/mono@b759449: Bump msbuild to track mono-2019-08
  * mono/mono@617f399: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211)
  * mono/mono@77258ea: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202)
  * mono/mono@f83c321: Bump msbuild to track mono-2019-08 (#17193)
  * mono/mono@1ecd094: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077)
  * mono/mono@54a33be: [merp] Put thread into async context before running summarizer (#17197)
  * mono/mono@72128bb: Bump libgdiplus to 6.0.4
  * mono/mono@65a972c: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184)
  * mono/mono@9e6def1: [merp] exit_status is 0 if we ran the uploader successfully (#17187)
  * mono/mono@8a707cc: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189)
  * mono/mono@bd72952: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178)
  * mono/mono@b6efc0c: Bump msbuild to track xplat-master (#17132)
  * mono/mono@2869cd5: Bump ikvm to get mono/ikvm-fork#13 (#17170)
  * mono/mono@a64a256: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147)
  * mono/mono@57f0684: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Oct 17, 2019
Changes: mono/mono@5281037...3eb5f34

Fixes: #3726

Context: mono/mono@0f241c9
Context: mono/mono#7377
Context: mono/mono#16570
Context: mono/mono#17004
Context: mono/mono#17151
Context: mono/mono#17180

  * mono/mono@3eb5f34: [GTK] Bump bockbuild for GtkViewport autoscrolling patch. (#17321)
  * mono/mono@b601371: Update MERP event type to MonoAppCrash
  * mono/mono@6184ff0: [2019-08][ci] Use Xcode11.1 and 11.2beta2 for XI/XM Mono SDK builds (#17324)
  * mono/mono@8969f2c: [2019-08] [merp] Include any managed methods in the 'unmanaged_frames' portion (#17316)
  * mono/mono@3009440: [2019-08][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry (#17308)
  * mono/mono@df5e13f: [tests] Bump corefx to get Azure testhost change (#17275)
  * mono/mono@11e1499: [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220)
  * mono/mono@7dbad3c: [arm] Fix fetching of method addresses (#17253)
  * mono/mono@9a88a36: [sgen] Fix invalid value passed to write barrier (#17247)
  * mono/mono@0f241c9: [2019-08] Add drawing type converters to mobile profiles (#17240)
  * mono/mono@7ebe1a1: Update Roslyn to 3.4.0-beta2-19477-01
  * mono/mono@b759449: Bump msbuild to track mono-2019-08
  * mono/mono@617f399: [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211)
  * mono/mono@77258ea: [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202)
  * mono/mono@f83c321: Bump msbuild to track mono-2019-08 (#17193)
  * mono/mono@1ecd094: [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077)
  * mono/mono@54a33be: [merp] Put thread into async context before running summarizer (#17197)
  * mono/mono@72128bb: Bump libgdiplus to 6.0.4
  * mono/mono@65a972c: Always do copy_stack_data on entering GC safe/unsafe mode. (#17184)
  * mono/mono@9e6def1: [merp] exit_status is 0 if we ran the uploader successfully (#17187)
  * mono/mono@8a707cc: [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189)
  * mono/mono@bd72952: [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178)
  * mono/mono@b6efc0c: Bump msbuild to track xplat-master (#17132)
  * mono/mono@2869cd5: Bump ikvm to get mono/ikvm-fork#13 (#17170)
  * mono/mono@a64a256: [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147)
  * mono/mono@57f0684: [2019-08] [merp] Add API method that whitelists all native libraries (#17128)
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Oct 28, 2019
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Dec 3, 2019
Changes: mono/api-snapshot@fc50bc4...45a61d9

        $ git diff --shortstat fc50bc4f...45a61d93
         22 files changed, 775 insertions(+), 474 deletions(-)

Changes: mono/cecil@a6c8f5e...a6a7f5c

        $ git diff --shortstat a6c8f5e1...a6a7f5c0
         55 files changed, 818 insertions(+), 530 deletions(-)

Changes: mono/corefx@1f87de3...49f1c45

        $ git diff --shortstat e4f7102b...49f1c453
         38 files changed, 1171 insertions(+), 419 deletions(-)

Changes: mono/linker@ebe2a1f...e8d054b

        $ git diff --shortstat ebe2a1f4...e8d054bf
         137 files changed, 5360 insertions(+), 1781 deletions(-)

Changes: mono/mono@8946e49...18920a8

        $ git diff --shortstat 8946e49a...18920a83
         1811 files changed, 47240 insertions(+), 48331 deletions(-)

Changes: xamarin/xamarin-android-api-compatibility@a61271e...50a3c52

        $ git diff --shortstat a61271e0...50a3c52d
         1 file changed, 2 insertions(+), 791 deletions(-)

Fixes: #3619

Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1005448
Context: https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/967582
Context: dotnet/coreclr#26370
Context: dotnet/coreclr#26479
Context: dotnet/corefx#40455
Context: dotnet/corefx#40578
Context: mono/mono#7377
Context: mono/mono#12421
Context: mono/mono#12586
Context: mono/mono#14080
Context: mono/mono#14725
Context: mono/mono#14772
Context: mono/mono#15261
Context: mono/mono#15262
Context: mono/mono#15263
Context: mono/mono#15307
Context: mono/mono#15308
Context: mono/mono#15310
Context: mono/mono#15646
Context: mono/mono#15687
Context: mono/mono#15805
Context: mono/mono#15992
Context: mono/mono#15994
Context: mono/mono#15999
Context: mono/mono#16032
Context: mono/mono#16034
Context: mono/mono#16046
Context: mono/mono#16192
Context: mono/mono#16308
Context: mono/mono#16310
Context: mono/mono#16369
Context: mono/mono#16380
Context: mono/mono#16381
Context: mono/mono#16395
Context: mono/mono#16411
Context: mono/mono#16415
Context: mono/mono#16486
Context: mono/mono#16570
Context: mono/mono#16605
Context: mono/mono#16616
Context: mono/mono#16689
Context: mono/mono#16701
Context: mono/mono#16712
Context: mono/mono#16742
Context: mono/mono#16759
Context: mono/mono#16803
Context: mono/mono#16808
Context: mono/mono#16824
Context: mono/mono#16876
Context: mono/mono#16879
Context: mono/mono#16918
Context: mono/mono#16943
Context: mono/mono#16950
Context: mono/mono#16974
Context: mono/mono#17004
Context: mono/mono#17017
Context: mono/mono#17038
Context: mono/mono#17040
Context: mono/mono#17083
Context: mono/mono#17084
Context: mono/mono#17133
Context: mono/mono#17139
Context: mono/mono#17151
Context: mono/mono#17180
Context: mono/mono#17278
Context: mono/mono#17549
Context: mono/mono#17569
Context: mono/mono#17665
Context: mono/mono#17687
Context: mono/mono#17737
Context: mono/mono#17790
Context: mono/mono#17924
Context: mono/mono#17931
Context: https://github.com/mono/mono/issues/26758
Context: https://github.com/mono/mono/issues/37913
Context: xamarin/xamarin-macios#7005
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Dec 3, 2019
Changes: mono/api-snapshot@fc50bc4...45a61d9

        $ git diff --shortstat fc50bc4f...45a61d93
         22 files changed, 775 insertions(+), 474 deletions(-)

Changes: mono/cecil@a6c8f5e...a6a7f5c

        $ git diff --shortstat a6c8f5e1...a6a7f5c0
         55 files changed, 818 insertions(+), 530 deletions(-)

Changes: mono/corefx@1f87de3...49f1c45

        $ git diff --shortstat e4f7102b...49f1c453
         38 files changed, 1171 insertions(+), 419 deletions(-)

Changes: mono/linker@ebe2a1f...e8d054b

        $ git diff --shortstat ebe2a1f4...e8d054bf
         137 files changed, 5360 insertions(+), 1781 deletions(-)

Changes: mono/mono@8946e49...18920a8

        $ git diff --shortstat 8946e49a...18920a83
         1811 files changed, 47240 insertions(+), 48331 deletions(-)

Changes: xamarin/xamarin-android-api-compatibility@a61271e...50a3c52

        $ git diff --shortstat a61271e0...50a3c52d
         1 file changed, 2 insertions(+), 791 deletions(-)

Fixes: #3619

Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1005448
Context: https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/967582
Context: dotnet/coreclr#26370
Context: dotnet/coreclr#26479
Context: dotnet/corefx#40455
Context: dotnet/corefx#40578
Context: mono/mono#7377
Context: mono/mono#12421
Context: mono/mono#12586
Context: mono/mono#14080
Context: mono/mono#14725
Context: mono/mono#14772
Context: mono/mono#15261
Context: mono/mono#15262
Context: mono/mono#15263
Context: mono/mono#15307
Context: mono/mono#15308
Context: mono/mono#15310
Context: mono/mono#15646
Context: mono/mono#15687
Context: mono/mono#15805
Context: mono/mono#15992
Context: mono/mono#15994
Context: mono/mono#15999
Context: mono/mono#16032
Context: mono/mono#16034
Context: mono/mono#16046
Context: mono/mono#16192
Context: mono/mono#16308
Context: mono/mono#16310
Context: mono/mono#16369
Context: mono/mono#16380
Context: mono/mono#16381
Context: mono/mono#16395
Context: mono/mono#16411
Context: mono/mono#16415
Context: mono/mono#16486
Context: mono/mono#16570
Context: mono/mono#16605
Context: mono/mono#16616
Context: mono/mono#16689
Context: mono/mono#16701
Context: mono/mono#16712
Context: mono/mono#16742
Context: mono/mono#16759
Context: mono/mono#16803
Context: mono/mono#16808
Context: mono/mono#16824
Context: mono/mono#16876
Context: mono/mono#16879
Context: mono/mono#16918
Context: mono/mono#16943
Context: mono/mono#16950
Context: mono/mono#16974
Context: mono/mono#17004
Context: mono/mono#17017
Context: mono/mono#17038
Context: mono/mono#17040
Context: mono/mono#17083
Context: mono/mono#17084
Context: mono/mono#17133
Context: mono/mono#17139
Context: mono/mono#17151
Context: mono/mono#17180
Context: mono/mono#17278
Context: mono/mono#17549
Context: mono/mono#17569
Context: mono/mono#17665
Context: mono/mono#17687
Context: mono/mono#17737
Context: mono/mono#17790
Context: mono/mono#17924
Context: mono/mono#17931
Context: https://github.com/mono/mono/issues/26758
Context: https://github.com/mono/mono/issues/37913
Context: xamarin/xamarin-macios#7005
ManickaP pushed a commit to ManickaP/runtime that referenced this issue Jan 20, 2020
…mono#17194)

Followup work for mono/mono#17090

In order to get managed method info for unmanaged stacktraces, we call
mini_jit_info_table_find_ext which calls decode_exception_debug_info which may
allocate if it's not in async context.

Do the switch in mono_threads_summarize_execute so that non-supervising threads
all switch when they run the sigterm_signal_handler.  mono_threads_summarize
already does it for the supervisor thread.

Fixes mono/mono#17180

Commit migrated from mono/mono@cb52186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.