'How to find reason for MAUI app failure on Android ([libc] Fatal signal 11 (SIGSEGV))?

I am trying to explore .NET 6 with MAUI preview 14 to run code on Windows, Android and other platforms.

While my code works fine on Windows, on Android, where I run my code using VS 2022 17.2 Preview 2 in a Pixel 5 emulator with x86_64 architecture, any attempt to instantiate the central instance of the Processor class (with e.g. var processor = new Processor(true); of a library named SaxonCS (https://www.nuget.org/packages/SaxonCS/) I use crashes the application with an error [libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

Loaded assembly: /data/data/com.companyname.mauiapp4sax1121test2/files/.__override__/Singulink.Numerics.BigDecimal.dll [External]
Loaded assembly: /data/data/com.companyname.mauiapp4sax1121test2/files/.__override__/Singulink.Numerics.BigIntegerExtensions.dll [External]
[libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 14860 (pp4sax1121test2), pid 14860 (pp4sax1121test2) 

What does that error mean, how to find out in more detail what causes it and how to avoid it?

As for the logs, they don't seem to show more info, at least to me as the error doesn't seem to be more detailed:

Uhrzeit    Gerätename    Typ    PID    Tag    Meldung
03-22 11:15:53.714    pixel_5_-_api_30    Error    14953    DEBUG    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10
03-22 11:15:53.633    pixel_5_-_api_30    Error    14860    libc    Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 14860 (pp4sax1121test2), pid 14860 (pp4sax1121test2) 


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source