D7 Crashes on TLiteConnection.Connected set to true

Discussion of open issues, suggestions and bugs regarding LiteDAC (SQLite Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mskeels
Posts: 16
Joined: Tue 06 Mar 2012 15:08

D7 Crashes on TLiteConnection.Connected set to true

Post by mskeels » Wed 02 Mar 2016 21:18

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

mskeels
Posts: 16
Joined: Tue 06 Mar 2012 15:08

Re: D7 Crashes on TLiteConnection.Connected set to true

Post by mskeels » Thu 03 Mar 2016 21:42

...anybody?

midzi
Posts: 1
Joined: Sat 05 Mar 2016 17:21

Re: D7 Crashes on TLiteConnection.Connected set to true

Post by midzi » Sat 05 Mar 2016 18:06

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: D7 Crashes on TLiteConnection.Connected set to true

Post by AlexP » Mon 07 Mar 2016 09:13

Hello,

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

mskeels
Posts: 16
Joined: Tue 06 Mar 2012 15:08

Re: D7 Crashes on TLiteConnection.Connected set to true

Post by mskeels » Mon 07 Mar 2016 16:43

Alex,

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

Mark

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: D7 Crashes on TLiteConnection.Connected set to true

Post by AlexP » Thu 10 Mar 2016 07:51

You can download the fixed trial build via https://www.devart.com/pub/litedac7_09_03_2016.exe

Post Reply