The following Linux Island test program bombs with a seg fault:
namespace ConsoleApplication2;
type
Program = class
public
class method Main(args: array of String): Int32;
begin
try
raise new Exception('Here we go...');
except
on E : Exception do
writeLn(E.Message);
end;
end;
end;
end.
The same try block works as expected in .Net Core. If I change E.Message to ‘Oof’ it works as expected in Linux Island.
Here is strace output from a failed run: strace.txt (8.5 KB)
Addendum: E.ToString() also causes a seg fault on Linux Island.