Page 1 of 1

Initialization fails with "Segmentation fault 11"

Posted: Thu Feb 06, 2025 1:26 pm
by belorus_from_spb
The problem with initialization inside module "Fmx.Platform.Linux.initialization" still persists, could you please tell, is there any way to avoid it?

I am building an application on machine with Windows 11 64 bit. Deploying it to Linux 64bit machine.
Using Embarcadero RAD Studio 10.4 with fmxLinux 1.78 (latest at current).
Trying to build a demo program FMXExternalPumpBrowser2. All steps by your instruction.

And when trying to run application on remote Linux host, the error "Segmentation fault 11" is shown before anything is initialized.
An error occures while automatic initialization of module "Fmx.Platform.Linux.Initialization" (look screenshot) in standart initialization procedure "System.InitUnits".
Calls to "InitializeGlobalCEFApp" and "InitializeGTK" are not invoked.
Is there any way to fix it only by local changes?

I've read that developer of fmxLinux had died a couple months ago, unfortunately:
https://blogs.embarcadero.com/eugene-kryukov-father-of-firemonkey-and-incredibly-talented-developer/
So I am very afraid that updates of this extension will not be fast...

Thanks for any help.
Big thanks!

Re: Initialization fails with "Segmentation fault 11"

Posted: Sun Feb 09, 2025 4:57 pm
by salvadordf
I only have a Delphi Pro license and every time I have to modify the FMX demo for Linux I have to ask for favors to other developers.

I'm not sure I can fix this issue only with code changes in the CEF4Delphi project.

...I'll see what I can do but I can't promise anything... :oops:

Re: Initialization fails with "Segmentation fault 11"

Posted: Mon Feb 10, 2025 8:06 am
by belorus_from_spb
salvadordf wrote: Sun Feb 09, 2025 4:57 pm I only have a Delphi Pro license and every time I have to modify the FMX demo for Linux I have to ask for favors to other developers.

I'm not sure I can fix this issue only with code changes in the CEF4Delphi project.

...I'll see what I can do but I can't promise anything... :oops:
Thank you very much. I shall wait for any solution, if it can be found.

Re: Initialization fails with "Segmentation fault 11"

Posted: Mon Feb 10, 2025 11:12 am
by salvadordf
Please, keep in mind that it can take weeks (months?) if it's even possible at all.

It would be much easier for everyone if Embarcadero had the rights to include FMXLinux in Delphi and even better if they include it to the developers with a Pro license like me.

In addition to that, I'll be really busy in the coming weeks and the amount of time for the open source projects will be limited.