Page 1 of 1

D7 Crashes on TLiteConnection.Connected set to true

Posted: Wed 02 Mar 2016 21:18
by mskeels
All,

I downloaded the demo of LiteDAC for D7.

I have a problem with my D7 IDE crashing when trying to use LiteDAC.

My environment:

D7 Enterprise version 7.0 Build 4.453
Win XP Build 2600 SP3 v. 3264
LiteDAC version 2.6.21 for Delphi 7

To reproduce the problem:

Open D7
On default form of default project, place TLiteConnection.
Select SQLite3.DLL as Client Library.
Set TLiteConnection.LogicPrompt property = False.
Point Database property to an existing SQLite database that works in other applications.
Set TLiteConnection.Connected := True;

Symptom:
3 times out of 4 the Delphi IDE will immediately crash and terminate without any message at all.

I tried it in two different Delphi environments. Same problem both times.

How do we fix this?

Link below holds SQLite3.dll and SQLite database:
https://www.dropbox.com/sh/wadnwywr3zfx ... ygmVa?dl=0

Thanks,
Mark

Re: D7 Crashes on TLiteConnection.Connected set to true

Posted: Thu 03 Mar 2016 21:42
by mskeels
...anybody?

Re: D7 Crashes on TLiteConnection.Connected set to true

Posted: Sat 05 Mar 2016 18:06
by midzi
Hello,
I can confirm this issue in the commercial version of LiteDAC 2.6.21 on Windows 7 Ultimate. Any attempt to connect to the database at design time crashes the D7 IDE. Trying to connect at run time produces a debugger fault notification:

Project xxx faulted with message: 'access violation at 0x00401ce0: write of address 0x0000007f'. Process Stopped.

The same project runs correctly on Delphi 2007 and Delphi XE.

Regards,

Mariusz

Re: D7 Crashes on TLiteConnection.Connected set to true

Posted: Mon 07 Mar 2016 09:13
by AlexP
Hello,

Thank you for the information, we have reproduced and fixed the issue. This fix will be included in the next version.

Re: D7 Crashes on TLiteConnection.Connected set to true

Posted: Mon 07 Mar 2016 16:43
by mskeels
Alex,

That is great. But I need to use the tools right now; is there a fix I can get today?

Mark

Re: D7 Crashes on TLiteConnection.Connected set to true

Posted: Thu 10 Mar 2016 07:51
by AlexP
You can download the fixed trial build via https://www.devart.com/pub/litedac7_09_03_2016.exe