Page 1 of 1

Access Violation in TZAbstractDatabaseMetadata.Destroy

Posted: 03.10.2020, 12:59
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.

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Posted: 04.10.2020, 14:16
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

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Posted: 05.10.2020, 00:29
by claudiolr
Hi Jan,

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

Thanks.

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Posted: 05.10.2020, 13:19
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

Re: Access Violation in TZAbstractDatabaseMetadata.Destroy

Posted: 15.10.2020, 19:01
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.