Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Initialization fails with "Segmentation fault 11"

Post Reply
belorus_from_spb
Posts: 2
Joined: Thu Feb 06, 2025 1:03 pm

Initialization fails with "Segmentation fault 11"

Post 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!
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4563
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Initialization fails with "Segmentation fault 11"

Post 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:
belorus_from_spb
Posts: 2
Joined: Thu Feb 06, 2025 1:03 pm

Re: Initialization fails with "Segmentation fault 11"

Post 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.
User avatar
salvadordf
Posts: 4563
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Initialization fails with "Segmentation fault 11"

Post 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.
Post Reply