Getting exception: Segmentation fault (11) while showing a secondary form on Android 9

  

I’m using Delphi 10.3 to develop an Android application. The main form needs to show a login form based on data stored in an INI file. But, when I show the form, I get an exception:

Exception class Segmentation fault (11).

I’m facing this problem only on Android 9 (Motorola E6s model). On other Android versions, it works fine.

Below I have mentioned the simple code:

Form1 (Main form):

Buttonclick; // After showing the main form
begin
Form2.Show;
end;

Also tried with another code:

ShowEvent;// On show event
begin
Form2.Show;
end;

Please help me, how can I fix this?

Comments are closed.