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