Project

Profile

Help

Support #5534

closed

SaxonCS crashes on Android

Added by Martin Honnen over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
.NET API
Sprint/Milestone:
-
Start date:
2022-05-23
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
11
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
.NET

Description

.NET 6 MAUI GA is there and unfortunately any attempt on Android to do/use more than new Processor() crashes, the output suggests the crash occurs while or after the class constructor/initializer for Saxon.Hej.type.BuiltInAtomicType:

[Mono] Running class .cctor for Saxon.Hej.lib.ConversionRules from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/SaxonCS.dll'
[Mono] Running class .cctor for Saxon.Hej.value.StringToDouble11 from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/SaxonCS.dll'
[Mono] Running class .cctor for Saxon.Hej.type.StringToDouble from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/SaxonCS.dll'
[Mono] Running class .cctor for System.Collections.Concurrent.ConcurrentDictionary`2<int, Saxon.Hej.expr.sort.LFUCacheEntryWithCounter`1<Saxon.Hej.type.Converter>> from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/System.Collections.Concurrent.dll'
[Mono] Running class .cctor for Saxon.Hej.value.GDateValue from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/SaxonCS.dll'
[Mono] Running class .cctor for Saxon.Hej.value.CalendarValue from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/SaxonCS.dll'
[Mono] Running class .cctor for Saxon.Hej.value.Whitespace from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/SaxonCS.dll'
[Mono] Running class .cctor for System.Collections.Generic.List`1<Saxon.Hej.regex.Operation> from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/System.Private.CoreLib.dll'
[Mono] Running class .cctor for System.Collections.Generic.List`1<Saxon.Hej.regex.RegexPrecondition> from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/System.Private.CoreLib.dll'
[Mono] Running class .cctor for Saxon.Hej.type.BuiltInAtomicType from '/data/data/com.companyname.saxoncs113mauigatest1/files/.__override__/SaxonCS.dll'
[libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 5896 (s113mauigatest1), pid 5896 (s113mauigatest1)

I can't tell whether it is the cause of the crash, not sure whether anyone at Saxonica can but as you wanted to be informed on cross platform issues with SaxonCS I open this to have an issue to track.

I don't know of any way to use SaxonCS with .NET 6 on Android other than using it with MAUI.


Files

Please register to edit this issue

Also available in: Atom PDF