Icon View Incident Report

Serious Serious
Reported By: Volker Nabholz [gripsware gmbh]
Reported On: 4/28/2015
For: Version 2.18 Build 4
# 4165 SQL SELECT Statements with Sub-Queries Referencing Other Databases Can Experience an AV During Close

SQL-Command leading to Access-Violation (even in EDB-Manager).

Exception: EAccessViolation while reading from Address 00000004.
Callstack - 1:
:74970f22 KERNELBASE.RaiseException + 0x49
Data.DB.TDataSet.SetActive(???)
Data.DB.TDataSet.Close
Data.DB.TDataSet.Destroy
System.TObject.Free
System.Classes.TComponent.DestroyComponents
Vcl.Forms.DoneApplication
System.SysUtils.DoExitProc
System._Halt0
prorep3.prorep3
:0040b394 NotifyNonDelphiException + $1C
:00439b0c Exception.GetBaseException

SELECT PL.*,
       (select ANF.NameAndFunction from p3md.vw_AddressNameAndFunction ANF where ANF.GUID_ID = PL.ProjectLeader_GUID) AS ProjectLeaderName,
       (SELECT LIST('P' + RIGHT('0' + CAST(CDD.CEDevice_ID AS VarChar(2)), 2)) AS CEList FROM p3md.CEDevice CDD WHERE CDD.ProjectLeader = PL.ProjectLeader_GUID) AS CE_ID
FROM Prj0000001."ProjectLeader" PL
WHERE PL.Project_GUID = 'Prj0000001' AND COALESCE(PL.Project_GUID, '') <> '' ORDER BY RowPos



Resolution Resolution
Fixed Problem on 4/29/2015 in version 2.19 build 1


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image