Having a weird issue with PGDac and securebridge on Linux with Lazarus

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Mon 25 Feb 2013 20:10

I have a app that uses SecureBridge to connect to a SSH
server and then opens a tunnel for the PGdac connection to use.
This works fine on Windows with Lazarus, on Linux (Latest ArchLinux I686 32bit) it also works,
but not in the IDE, when I run it from the IDE the PGDac connection fails with a error code 4 system call interrupted. If I run the exe directly it works fine.

Anyone have any ideas?

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Tue 26 Feb 2013 05:34

oh, forgot to add I am running the latest stable lazarus with compiler 2.6.2
along with latest versions of PGDac and Securebridge.

Actual Error is:

Error on data reading from the connection:
Interrupted system call.
Socket Error Code 4($4)

I thought it might because of the xserver conflicting with threads or something, so I had the
application output to another X display and still got the same error.

Again the app works fine when run outside the IDE, I just cant get past the PGDac connect in the IDE right after the tunnel channel in Sbridge is connected.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by AlexP » Tue 26 Feb 2013 13:01

Hello,

We haven't yet tested our products on the latest versions of FPC and Lazarus, there was no such problem on the previous versions. We will check this behaviour and inform you about the results.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Tue 26 Feb 2013 20:58

ok, thanks.
Just a FYI, it was doing it on Lazarus 1.0.6 and the 2.6.0 compiler as well.
I just updated to the 2.6.2 compiler yesterday.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Wed 27 Feb 2013 16:03

I will try and make a simple Lazarus project that reproduces the issue.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Thu 28 Feb 2013 16:37

Just a FYI, I sent a support request ticket with this issue and a example Lazarus project
as a zip file.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Thu 28 Feb 2013 16:42

Also just a FYI, this only happens on Linux.
Works great on lazarus win32 in the IDE even with latest lazarus 1.0.6 and FPC 2.6.2 which was just released as stable a few days ago.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Thu 28 Feb 2013 16:45

Also as a FYI,
I did have the my test apps display go to a different X session to eliminate any IDE thread locking issues and the same error appears, so it's not related to threads and the IDE.

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by DemetrionQ » Thu 07 Mar 2013 11:11

Hello.

Thank you for the information, we have reproduced the problem and been investigating it.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Wed 20 Mar 2013 20:04

Have you guys found anything out about this yet?

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by DemetrionQ » Fri 22 Mar 2013 14:35

Hello.

We haven't solved this problem yet. We will inform you as soon as we fix it.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by snorkel » Wed 15 May 2013 15:47

Any updates on this?

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: Having a weird issue with PGDac and securebridge on Linux with Lazarus

Post by DemetrionQ » Mon 20 May 2013 08:23

Hello.

This is a SecureBridge problem. We will fix it in the next SecureBridge build.

Post Reply