Subject TIB_Connection Access violation
Author Cam
Hi I have data module with a TIB_Connection (version 5.3.5 1996) on it.

The error detailed below happens when
1. The project is loaded.
2. I try to disconnect in the IDE. It was saved as connected and now
cannot be disconnected in the IDE.
It can be disconnected and connected at runtime with no problems
3. Attempting to delete the component in the IDE gives the same error.
4. The project is closed.

I have edited the dfm and pas file and removed the component., then put
it back in and then reconnected
the previously linked components. Later when I tried to save the project
the error reoccurred and the symptoms are as described above

I cannot recreate the problem in a test project
Any clues appreciated
Thanks
Cam

The Error reported is
---------------------------
Error
---------------------------
Access violation at address 1BB961E1 in module 'ibo5trt_d2012.bpl'. Read
of address 00000018.
---------------------------
OK Details >>
---------------------------

And the Details are
[1BB961E1]{ibo5trt_d2012.bpl} Ib_events.TIB_EventBlockInfo.SysUnregister
+ $19
[500437B4]{rtl160.bpl } System.UTF8EncodeToShortString (Line 30379,
"System.pas" + 1) + $1D
[5003CC79]{rtl160.bpl } System.TObject.FieldAddress (Line 14145,
"System.pas" + 1) + $D
[500B4D21]{rtl160.bpl } System.Classes.TComponent.ValidateRename (Line
12851, "System.Classes.pas" + 6) + $15
[51D404ED]{vcldesigner160.bpl}
VCLSurface.TVclDesignSurface.ValidateRename (Line 3859, "VCLSurface.pas"
+ 2) + $D
[50449A08]{vcl160.bpl } Vcl.Forms.TCustomForm.ValidateRename (Line
4114, "Vcl.Forms.pas" + 3) + $10
[500B4D09]{rtl160.bpl } System.Classes.TComponent.ValidateRename (Line
12850, "System.Classes.pas" + 5) + $C
[500B4D21]{rtl160.bpl } System.Classes.TComponent.ValidateRename (Line
12851, "System.Classes.pas" + 6) + $15
[50041A15]{rtl160.bpl } System.@DynArrayClear (Line 28554, "System.pas"
+ 45) + $0
[50037A9C]{rtl160.bpl } System.@FreeMem (Line 3502, "System.pas" + 20) + $0
[50041A15]{rtl160.bpl } System.@DynArrayClear (Line 28554, "System.pas"
+ 45) + $0
[50041718]{rtl160.bpl } System.DynArrayClear (Line 28251, "System.pas"
+ 0) + $0
[5004174F]{rtl160.bpl } System.DynArraySetLength (Line 28275,
"System.pas" + 9) + $5
[500409E5]{rtl160.bpl } System.@FinalizeArray (Line 26241, "System.pas"
+ 138) + $0
[500408C4]{rtl160.bpl } System.@FinalizeRecord (Line 26006,
"System.pas" + 21) + $0
[5003D50F]{rtl160.bpl } System.TMonitor.TryEnter (Line 14790,
"System.pas" + 10) + $0
[5003D078]{rtl160.bpl } System.TMonitor.Enter (Line 14489, "System.pas"
+ 4) + $2
[5003CF1C]{rtl160.bpl } System.TMonitor.CheckOwningThread (Line 14411,
"System.pas" + 2) + $0
[5003D222]{rtl160.bpl } System.TMonitor.Exit (Line 14600, "System.pas"
+ 9) + $7
[5003D25B]{rtl160.bpl } System.TMonitor.Exit (Line 14614, "System.pas"
+ 2) + $7
[500AA100]{rtl160.bpl } System.Classes.RemoveFixups (Line 7476,
"System.Classes.pas" + 14) + $8
[5004097C]{rtl160.bpl } System.@FinalizeArray (Line 26173, "System.pas"
+ 70) + $0
[1BB95481]{ibo5trt_d2012.bpl} Ib_events.TIB_Events.UnregisterEvents + $4D
[1BB95182]{ibo5trt_d2012.bpl}
Ib_events.TIB_Events.ProcessConnectionEvent + $1A
[1146AE05]{ibo5crt_d2012.bpl}
Ib_components.TIB_ConnectionLink.ProcessEvent + $11
[1146AD3D]{ibo5crt_d2012.bpl}
Ib_components.TIB_ConnectionLink.SetConnection + $11
[11460FFA]{ibo5crt_d2012.bpl} Ib_components.TIB_Connection + $9A
[5003C5A4]{rtl160.bpl } System.TObject.Free (Line 13025, "System.pas" +
1) + $4
[20FD2898]{designide160.bpl}
ComponentDesigner.TComponentRoot.DeleteSelection (Line 4695,
"ComponentDesigner.pas" + 44) + $2
[0B6AB0C4]{IDEFixPack.dll} UnregisterChangeDirectoryNotifier + $B840
[51D4EFE8]{vcldesigner160.bpl}
VCLFormDesigner.TVCLRootDesigner.EditAction (Line 921,
"VCLFormDesigner.pas" + 7) + $2
[004224A8]{bds.exe }
Sanctuary.Util..{Sanctuary.Util}TSortedList<System.string,System.string>
(Line 13, "Sanctuary.Util.pas" + 0) + $2CD0
[00422551]{bds.exe }
Sanctuary.Util..{Sanctuary.Util}TSortedList<System.string,System.string>
(Line 13, "Sanctuary.Util.pas" + 0) + $2D79
[0041F81B]{bds.exe } Sanctuary.Util..TByteArrayOutputStream (Line
13, "Sanctuary.Util.pas" + 0) + $43
[500B5B97]{rtl160.bpl } System.Classes.TBasicAction.Execute (Line
13372, "System.Classes.pas" + 3) + $7
[5031B86D]{vcl160.bpl } Vcl.ActnList.TContainedAction.Execute (Line
448, "Vcl.ActnList.pas" + 8) + $2C
[5031C658]{vcl160.bpl } Vcl.ActnList.TCustomAction.Execute (Line 1094,
"Vcl.ActnList.pas" + 7) + $8
[0B6A9AC6]{IDEFixPack.dll} UnregisterChangeDirectoryNotifier + $A242
[500B5A5B]{rtl160.bpl } System.Classes.TBasicActionLink.Execute (Line
13301, "System.Classes.pas" + 2) + $7
[5043806C]{vcl160.bpl } Vcl.Menus.TMenuItem.Click (Line 2520,
"Vcl.Menus.pas" + 17) + $7
[50439687]{vcl160.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3435,
"Vcl.Menus.pas" + 5) + $2
[5043A8F6]{vcl160.bpl } Vcl.Menus.TPopupList.WndProc (Line 4596,
"Vcl.Menus.pas" + 4) + $E
[5043A845]{vcl160.bpl } Vcl.Menus.TPopupList.MainWndProc (Line 4571,
"Vcl.Menus.pas" + 2) + $5
[500B688C]{rtl160.bpl } System.Classes.StdWndProc (Line 13878,
"System.Classes.pas" + 8) + $0
[50454598]{vcl160.bpl } Vcl.Forms.TApplication.CancelHint (Line 10993,
"Vcl.Forms.pas" + 6) + $7
[50453213]{vcl160.bpl } Vcl.Forms.TApplication.ProcessMessage (Line
10164, "Vcl.Forms.pas" + 23) + $1
[50453256]{vcl160.bpl } Vcl.Forms.TApplication.HandleMessage (Line
10194, "Vcl.Forms.pas" + 1) + $4
[50453595]{vcl160.bpl } Vcl.Forms.TApplication.Run (Line 10332,
"Vcl.Forms.pas" + 26) + $3