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
Access Violation Zeos 8 Lazarus 3.2
-
- Fresh Boarder
- Posts: 2
- Joined: 30.09.2023, 14:21
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Access Violation Zeos 8 Lazarus 3.2
Hello, I fixed this for Zeos 8 in rev. 8093. It should show up on github tomorrow.
-
- Fresh Boarder
- Posts: 2
- Joined: 30.09.2023, 14:21
Re: Access Violation Zeos 8 Lazarus 3.2
Thank you very much
-
- Fresh Boarder
- Posts: 7
- Joined: 16.07.2024, 18:31
Re: Access Violation Zeos 8 Lazarus 3.2
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.
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.