Jump to content
Harry Stahl

Delphi 10.4: System.Net.HttpClient.Linux.pas crash on Ubuntu 18.4

Recommended Posts

Togehter with Delphi and FMXLinux 1.46 : When I compile and run a form (also an empty one) with a TNetHttpClient on it, I have an Access-Violation on startup, IntializeUntis --> in System.Net.HttpClient.Linux.pas (Line 148).


It is only on Ubuntu 18.04, on Ubuntu 16.04 it is not.


With Delphi 10.3.3 it works on Ubuntu 16.x and 18.x. without problems.


Has someone made similar experiences / perhaps a workaround?


I will leave also a note on the FMX-Linux-page....

Share this post

Link to post
Posted (edited)

Yes, thanks for this info. I had to reboot the system (I tryed before to start the app, then it blocks something in the system).


After the installation of curl my program works fine again.


So is this a bug, that will be fixed or is it a new precondition to use delphi 10.4 with the TNetHttpClient?


This problem is not so nice, because without curl installed the program don't start and gives no information (no error-message).

Because that all happends allready in the initialization phase of the delphi-unit-system itselfs, one can't handle it....

Edited by Harry Stahl

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now