Page 1 of 1

dbexpsda30.dll is locking app up on shutdown

Posted: Wed 22 Aug 2007 17:12
by Preston
We have an app that currently uses Borland's dbExpress driver. If we swap that out for the dbexpsda30.dll everything runs fine until we try to shut the app down. At that point it appears all the threads are in a wait state (deadlock?). Swapping back to the Borland driver solves the problem.

Any suggestions.

Posted: Thu 23 Aug 2007 12:41
by Antaeus
Please specify the exact version of DbxSda, and the exact version of your IDE.
In what applications does the problem appear (in any application, in certain applications, in multithreaded applications, etc.)?

Posted: Thu 23 Aug 2007 13:49
by Preston
Version 4.0.0.1
Delphi 2006 - 10.0.2558.35231

I'm not sure as to what is causing the problem. Right now we're just starting the app and then immediately shutting it down. There is a little code that fires on start up, but nothing out of the ordinary.

One thing that might be a clue is that the problem is happening on our 64 bit XP machine. The 32 bit machines are running fine. We're doing more testing to determine if this is or is not related to the issue.

Posted: Thu 23 Aug 2007 14:30
by Preston
I can now reproduce the error on a 32 bit machine, so that isn't it.

Posted: Mon 27 Aug 2007 06:47
by Antaeus
Preston wrote:There is a little code that fires on start up, but nothing out of the ordinary.
Does this code perform connect to a server?

Can you reproduce this problem with DbxSda 4.00.2?
You download DbxSda 4.00.2 from here.

Posted: Tue 28 Aug 2007 15:44
by Preston
I can reproduce the issue using build 4.00.2

The code, opens and closes a connection.

I've found that turning off the applicaiton.initialize solves the problem. However, that causes comm issues (expected).

The problem is related to the initProc pointer. Is the dll doing something with it?

Can I test this on an older version of the driver?

Posted: Wed 29 Aug 2007 11:34
by Antaeus
I also received your email describing this problem, and answered it.