Access Violation in TZAbstractDatabaseMetadata.Destroy

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
claudiolr
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 03.10.2020, 12:50

Access Violation in TZAbstractDatabaseMetadata.Destroy

Post by claudiolr »

Hi

I'm using zeos + Firebird 2.5 + mORMot in a project and I'm getting AVs in destructor TZAbstractDatabaseMetadata.Destroy. The line where the AV is raised is this:

FDatabaseInfo := nil;

the AV is raised when the connection is deleted from the thread pool due to the connection timeout. I'm using connection timeouts in mormot setting the property ConnectionTimeoutMinutes

Any help about this will be really appreciated.

Thanks.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Post by marsupilami »

Hello,

which version of Zeos are you using? Zeos 7.2 doesn't have support for breaking / lost connections. Zeos 7.3 should have code that deals in a graceful manner with lost connections.

Best regards,

Jan
claudiolr
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 03.10.2020, 12:50

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Post by claudiolr »

Hi Jan,

I did a try with the latest 7.3 branch, and the AV is still raised.

Thanks.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Post by marsupilami »

Hello,

could you try to create a litte example that demonstrates the problem? That helps a lot when it comes to testing.
Best regards,

Jan
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Post by EgonHugeist »

@Jan
That would be impossible.
IIRC AB(Arnoud Baouchez) allows a single thread only for Firebird(don't know why). Reject to the mORMot forum. Ask there for help.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply