Page 1 of 1

Access Violation Zeos 8 Lazarus 3.2

Posted: 31.03.2024, 23:43
by josuebrprg@gmail.com
I have a problem when I close an application that contains a TZTransaction and a TZQuery with the Transaction property filled in.

Below is an example to reproduce the error:

Create a new project in Lazarus, add a TZTransaction and a TZQuery.

In TZQuery set the Transaction.

Try to close the application and an access violation will occur in TZAbstractTransaction.BeforeDestruction in the ZTransaction unit.

The exact line where the problem occurs within the method is: if Comp.InheritsFrom(TZAbstractRWTxnSeqDataSet) then

Re: Access Violation Zeos 8 Lazarus 3.2

Posted: 01.04.2024, 16:54
by marsupilami
Hello, I fixed this for Zeos 8 in rev. 8093. It should show up on github tomorrow.

Re: Access Violation Zeos 8 Lazarus 3.2

Posted: 01.04.2024, 19:18
by josuebrprg@gmail.com
Thank you very much

Re: Access Violation Zeos 8 Lazarus 3.2

Posted: 07.10.2024, 14:12
by automacaosamos
I'm trying to compile for AlmaLinux 9.4 and I'm encountering access violation with Lazarus 3.99, Firebird 3.0, ZeosLib 8.0
Putting 'interbase' in the protocol works, in Windows, but not in Linux, putting both 'interbase' and 'firebird' in Linux I also get access violation, how can I solve it.