Access violation in module "borlndmm.dll"
Folow these steps to reproduce:
Create a new VCL forms application;
Drop a TIB_Connection component on the main form;
Drop a TIB_Session component on the form;
Drop a TIB_Transaction component on the form;
Set the database, session, transaction, etc. properties of the components.
(test database is FBv2.0 dialect 3 on TCP_IP protocol)
Add a TIB_Query component;
Set connection and transaction properties.
Drop a TIBO_Datasource;
Drop a TIB_Grid and set its dataset property;
Activate the TIB_Query.
The error is fired on borlndmm.dll.
The SQL in the query calls a simple selectable stored procedure from the server! Nothing too much! I will provide it if needed!
Bellow is the call stack returned by Delphi:
[20FF4F10]{borlndmm.dll} FastMM4.ShowMessageBox (Line 2550, "FastMM4.pas" + 1) + $D
[50007C4C]{rtl120.bpl } System.@HandleFinally (Line 12108, "System.pas" + 40) + $0
[50003FF1]{rtl120.bpl } System.@ReallocMem (Line 3520, "System.pas" + 8) + $0
[50201F9D]{vcl120.bpl } Grids.ModifyExtents (Line 984, "Grids.pas" + 20) + $8
[50202000]{vcl120.bpl } Grids.UpdateExtents (Line 1023, "Grids.pas" + 7) + $7
[5020495C]{vcl120.bpl } Grids.DoChange (Line 2606, "Grids.pas" + 12) + $14
[510FA6A0]{exceptiondiag120.bpl} JclDebug.TJclBinDebugGenerator.CreateData (Line 2256, "JCLDebug.pas" + 86) + $1A
[510FB86C]{exceptiondiag120.bpl} JclDebug.TJclDebugInfoExports.GetLocationInfo (Line 2925, "JCLDebug.pas" + 9) + $A
[510F2C8D]{exceptiondiag120.bpl} JclTD32.TJclTD32InfoParser.FindProc (Line 1477, "JclTD32.pas" + 6) + $A
[510F2D44]{exceptiondiag120.bpl} JclTD32.TJclTD32InfoScanner.LineNumberFromAddr (Line 1531, "JclTD32.pas" + 0) + $0
[500477CC]{rtl120.bpl } Classes.TThreadList.UnlockList (Line 3781, "Classes.pas" + 0) + $4
[510A16E6]{exceptiondiag120.bpl} SysInit.@GetTls (Line 407, "SysInit.pas" + 23) + $0
[50007A0E]{rtl120.bpl } System.@HandleAnyException (Line 11589, "System.pas" + 83) + $0
[50204B68]{vcl120.bpl } Grids.TCustomGrid.ChangeSize (Line 2646, "Grids.pas" + 15) + $1
[50003FF1]{rtl120.bpl } System.@ReallocMem (Line 3520, "System.pas" + 8) + $0
[50201F9D]{vcl120.bpl } Grids.ModifyExtents (Line 984, "Grids.pas" + 20) + $8
[50202000]{vcl120.bpl } Grids.UpdateExtents (Line 1023, "Grids.pas" + 7) + $7
[5020495C]{vcl120.bpl } Grids.DoChange (Line 2606, "Grids.pas" + 12) + $14
[50204368]{vcl120.bpl } Grids.CalcFixedAxis (Line 2403, "Grids.pas" + 10) + $5
[50204411]{vcl120.bpl } Grids.TCustomGrid.CalcFixedInfo (Line 2415, "Grids.pas" + 3) + $31
[502042B5]{vcl120.bpl } Grids.CalcAxis (Line 2369, "Grids.pas" + 9) + $5
[50204303]{vcl120.bpl } Grids.TCustomGrid.CalcDrawInfoXY (Line 2384, "Grids.pas" + 3) + $6
[50204B3A]{vcl120.bpl } Grids.TCustomGrid.ChangeSize (Line 2641, "Grids.pas" + 10) + $1
[19DBFB53]{IBO40CRT_D2009.bpl} Ib_components.TIB_BDataset.SetBufferRowNum + $1B3
[50207878]{vcl120.bpl } Grids.TCustomGrid.SetRowCount (Line 4125, "Grids.pas" + 5) + $A
[1A513A33]{IBO40VRT_D2009.bpl} Ib_grid.TIB_CustomGrid.UpdateRowCount + $283
[1A51298C]{IBO40VRT_D2009.bpl} Ib_grid.TIB_CustomGrid.SysDataChange + $3C
[1A5116E8]{IBO40VRT_D2009.bpl} Ib_grid.TIB_CustomGrid.DataChange + $8
[19DCBD71]{IBO40CRT_D2009.bpl} Ib_components.TIB_DataLink.DoDataChange + $19
[19DCBC19]{IBO40CRT_D2009.bpl} Ib_components.TIB_DataLink.SysDataChange + $41
[1A5085F5]{IBO40VRT_D2009.bpl} Ib_fielddatalink.TIB_ControlDataLink.SysDataChange + $5
[19DCC611]{IBO40CRT_D2009.bpl} Ib_components.TIB_DataLink.ProcessStatementEvent + $131
[19DCA618]{IBO40CRT_D2009.bpl} Ib_components.TIB_DataSource.ProcessEvent + $70
[19DA8118]{IBO40CRT_D2009.bpl} Ib_components.TIB_Statement.ProcessLinkEvent + $6C
[19DB7217]{IBO40CRT_D2009.bpl} Ib_components.TIB_Dataset.ProcessLinkEvent + $77
[19DB70BA]{IBO40CRT_D2009.bpl} Ib_components.TIB_Dataset.EnableControls + $42
[19DAE7F3]{IBO40CRT_D2009.bpl} Ib_components.TIB_Dataset.Open + $77
[19DB28E3]{IBO40CRT_D2009.bpl} Ib_components.TIB_Dataset.SetActive + $17
[5003F57A]{rtl120.bpl } TypInfo.SetOrdProp (Line 1502, "TypInfo.pas" + 27) + $0
[20B9ACF2]{designide120.bpl} DesignEditors.TPropertyEditor.SetOrdValue (Line 838, "DesignEditors.pas" + 2) + $E
[20B9BDFB]{designide120.bpl} DesignEditors.TEnumProperty.SetValue (Line 1398, "DesignEditors.pas" + 5) + $4
[20B9A961]{designide120.bpl} DesignEditors.TPropertyEditor.Edit (Line 668, "DesignEditors.pas" + 11) + $14
[208AAFDA]{coreide120.bpl} PropInsp.TPropertyInspector.PropListEditDblClick (Line 882, "PropInsp.pas" + 20) + $5
[20C87371]{vclide120.bpl} IDEInspListBox.TInspListBox.DoEditDblClick (Line 976, "IDEInspListBox.pas" + 2) + $A
[20C88BB2]{vclide120.bpl} IDEInspListBox.TInspListBox.EditDblClick (Line 1546, "IDEInspListBox.pas" + 0) + $2
[501D1195]{vcl120.bpl } Controls.TControl.DblClick (Line 6763, "Controls.pas" + 1) + $14
[501D12F8]{vcl120.bpl } Controls.TControl.WMLButtonDblClk (Line 6806, "Controls.pas" + 4) + $C
[501D0C0E]{vcl120.bpl } Controls.TControl.WndProc (Line 6642, "Controls.pas" + 91) + $6
[0DF4D1A0]{rbIDE1112.bpl} Ppsynuedit.TSynEditPlugin + $74
[501D4BF4]{vcl120.bpl } Controls.TWinControl.IsControlMouseMsg (Line 9129, "Controls.pas" + 9) + $25
[501D529B]{vcl120.bpl } Controls.TWinControl.WndProc (Line 9336, "Controls.pas" + 136) + $6
[20C86513]{vclide120.bpl} IDEInspListBox.TPropInspEdit.WndProc (Line 439, "IDEInspListBox.pas" + 7) + $4
[501D49B4]{vcl120.bpl } Controls.TWinControl.MainWndProc (Line 9065, "Controls.pas" + 3) + $6
[50058938]{rtl120.bpl } Classes.StdWndProc (Line 12723, "Classes.pas" + 8) + $0
[501CB996]{vcl120.bpl } Controls.FindControl (Line 2999, "Controls.pas" + 6) + $9
[501F9EC7]{vcl120.bpl } Forms.TApplication.ProcessMessage (Line 9613, "Forms.pas" + 23) + $1
[501F9F0A]{vcl120.bpl } Forms.TApplication.HandleMessage (Line 9643, "Forms.pas" + 1) + $4
[501FA235]{vcl120.bpl } Forms.TApplication.Run (Line 9780, "Forms.pas" + 26) + $3
[004259D2]{bds.exe } bds.bds (Line 196, "" + 7) + $7
I have also noticed if you dont associate the TIB_Datasource with the query no error is fired.
Please confirm that this has been fixed in the latest version of IBO.
This issue has been fixed.
Bug can be closed now!