Access Violation Zeos 8 Lazarus 3.2

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
josuebrprg@gmail.com
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 30.09.2023, 14:21

Access Violation Zeos 8 Lazarus 3.2

Post 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
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1918
Joined: 17.01.2011, 14:17

Re: Access Violation Zeos 8 Lazarus 3.2

Post by marsupilami »

Hello, I fixed this for Zeos 8 in rev. 8093. It should show up on github tomorrow.
josuebrprg@gmail.com
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 30.09.2023, 14:21

Re: Access Violation Zeos 8 Lazarus 3.2

Post by josuebrprg@gmail.com »

Thank you very much
Post Reply