Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Android XE7 - TIdTCPClient Segmentation fault on connect


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Feb 5, 2018 10:34 AM Last Post By: Remy Lebeau (Te... Threads: [ Previous | Next ]
Andrea Ballerini

Posts: 3
Registered: 2/15/16
Android XE7 - TIdTCPClient Segmentation fault on connect  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 2, 2018 3:49 AM
Hi there,

I'm using C++ Builder on XE7,

using TIdTCPClient on Android 5, when i try to connect, if the TCP server is offline i have and exception like "Connection Refused" and the application continue to run. And thats is ok for me.
but if i run the same application on Android 6 or latest i have "Segmentation Fault" error. and the application stops working.
void __fastcall TForm1::Button1Click(TObject *Sender)
{
tcpclient->Connect("192.168.1.2", 81);
}

Can anyone help me please?

Thanks everybody.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Android XE7 - TIdTCPClient Segmentation fault on connect  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 2, 2018 9:43 AM   in response to: Andrea Ballerini in response to: Andrea Ballerini
Andrea Ballerini wrote:

I'm using C++ Builder on XE7,

Are you using the version of Indy that shipped with XE7? Do you have
the same problem if you use the latest version of Indy?

--
Remy Lebeau (TeamB)
Andrea Ballerini

Posts: 3
Registered: 2/15/16
Re: Android XE7 - TIdTCPClient Segmentation fault on connect  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2018 12:54 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Yes I'm using the version of Indy that shipped with XE7.
I try to download new version and i reply you,

Thanks

Remy Lebeau (TeamB) wrote:
Andrea Ballerini wrote:

I'm using C++ Builder on XE7,

Are you using the version of Indy that shipped with XE7? Do you have
the same problem if you use the latest version of Indy?

--
Remy Lebeau (TeamB)
Daniele Mura

Posts: 1
Registered: 1/31/15
Re: Android XE7 - TIdTCPClient Segmentation fault on connect  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2018 2:28 AM   in response to: Andrea Ballerini in response to: Andrea Ballerini
Andrea Ballerini wrote:
Yes I'm using the version of Indy that shipped with XE7.
I try to download new version and i reply you,

Thanks

Remy Lebeau (TeamB) wrote:
Andrea Ballerini wrote:

I'm using C++ Builder on XE7,

Are you using the version of Indy that shipped with XE7? Do you have
the same problem if you use the latest version of Indy?

--
Remy Lebeau (TeamB)

Sorry, how can i update my indy components?
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Android XE7 - TIdTCPClient Segmentation fault on connect  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2018 10:34 AM   in response to: Daniele Mura in response to: Daniele Mura
Daniele Mura wrote:

Sorry, how can i update my indy components?

http://www.indyproject.org/Sockets/Docs/Indy10Installation.aspx

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02