[Mono-dev] [android-devel] [macios-devel] Signal-chaining & crash reporters

Rolf Kvinge Rolf.Kvinge at microsoft.com
Mon Sep 19 10:25:50 UTC 2016


Hi,

> From: Rodrigo Kumpera
>   
> 
> Hey guys,
> 
>  Exposing signal handlers from managed code is always the wrong solution.
> 
> 
> 
> If we're crashing in the runtime, a managed code signal handler has very little chance of works. It's a scenario we will never even consider supporting.

This is not about exposing signal handlers to managed code, the signal handlers we want called are always in native code.

> 
> 
> 
> I guess the simple solution is to add an embedding API call that queues signal handlers
> to be called first before chaining to the OS one.

Something like this: https://gist.github.com/rolfbjarne/6aab59c1609f33402d195f9c34e9f99b?

Rolf


More information about the Mono-devel-list mailing list