New bug found in TDAAlerter

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Execute
Posts: 6
Joined: Tue 22 Jul 2014 22:56

New bug found in TDAAlerter

Post by Execute » Mon 18 May 2015 09:32

when I explicitly close a DB connexion, sometime - don't really know when - I fall on a stack overflow error. It's look like an error caused by TDAAlerter that call Disconnect on a disconnecting connexion in an infinite loop.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: New bug found in TDAAlerter

Post by ViktorV » Tue 19 May 2015 08:49

Unfortunately, we couldn't reproduce the problem. Please specify the versions of the used IDE, IBDAC and Firebird, and send a small sample demonstrating the problem to viktorv*devart*com, including the script for creating and filling in the database objects

Execute
Posts: 6
Joined: Tue 22 Jul 2014 22:56

Re: New bug found in TDAAlerter

Post by Execute » Tue 19 May 2015 11:38

sorry, no time to make a demo that show the bug, but this is the callstack (IBDAC 4.6.11) :

(...)
DBAccess.TCustomDAConnection.Disconnect
DBAccess.TCustomDAConnection.InternalDisconnect
DBAccess.TDBAccessUtils.InternalDisconnect($3729260)
DAAlerter.TDAAlerter.EndConnection(False)
DAAlerter.TDAAlerter.Stop
DAAlerter.TDAAlerter.ConnectChange($3729260,False)
Data.DB.TCustomConnection.SendConnectEvent(False)
DBAccess.TCustomDAConnection.SetConnected(False)
(...)
DBAccess.TCustomDAConnection.Disconnect
DBAccess.TCustomDAConnection.InternalDisconnect
DBAccess.TDBAccessUtils.InternalDisconnect($3729260)
DAAlerter.TDAAlerter.EndConnection(False)
DAAlerter.TDAAlerter.Stop
DAAlerter.TDAAlerter.ConnectChange($3729260,False)
Data.DB.TCustomConnection.SendConnectEvent(False)
DBAccess.TCustomDAConnection.SetConnected(False)
Data.DB.TCustomConnection.Close

TIBCConnection.Close is the entry point

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: New bug found in TDAAlerter

Post by ViktorV » Wed 20 May 2015 10:48

Please upgrade to the latest version of IBDAC (5.5.14) and check if the problem still persists.

Post Reply