Subject Problem with TIB_Events
Author thomaswclay
My first support issue!

I am trying to use the TIB_Events control. I have tried using a
component on the form and creating it dynamically. Both ways cause an
access violation. The exception dump follows.

I am using Firebird 1.5. The server is in the same machine as my

Any ideas?


date/time : 2004-06-09 15:47
computer name : GOLIATH
user name : tclay
operating system : Windows XP Service Pack 1 build 2600
system language : English
system up time : 5 hours 32 minutes
program up time : 7 seconds
physical memory : 313/1023 MB (free/total)
free disk space : (C:) 59.32 GB
process id : $16a0
executable : TaxTech.exe
exec. date/time : 2004-06-08 17:04
version :
madExcept version : 2.7
exception class : EAccessViolation
exception message : Access violation at address 77F69ECD in module
'ntdll.dll'. Write of address 00000010.

main thread ($16d4):
77f69e43 +8a ntdll.dll RtlpWaitForCriticalSection
77f5b2a0 +41 ntdll.dll RtlEnterCriticalSection
00f22a60 +f0 IBO40TRT_D7.bpl Ib_events TIB_Events.Create
007285f4 +21 ttCommon.bpl MainData 136 TdmMainData.Connect
00726c80 +7a ttCommon.bpl Main 453 TfrmMain.InitializePlugins
00726654 +b3 ttCommon.bpl Main 241 TfrmMain.FormCreate
0065d108 +31 vcl70.bpl Forms TCustomForm.DoCreate
0065ce08 +11 vcl70.bpl Forms TCustomForm.
40005b94 +07 rtl70.bpl System @AfterConstruction
77f75d90 +10 ntdll.dll KiUserCallbackDispatcher
00664eec +31 vcl70.bpl Forms TApplication.CreateForm

thread $1458:
7ffe0300 +04 ???
77f5c528 +0a ntdll.dll NtWaitForSingleObject
77e7a5a2 +85 kernel32.dll WaitForSingleObjectEx
77e7ac12 +0a kernel32.dll WaitForSingleObject
77c37f18 +9d MSVCRT.DLL _endthreadex
0041f748 +27 TaxTech.exe madExcept ThreadExceptFrame
>> created by main thread ($16d4) at:
77c37fed +60 MSVCRT.DLL _beginthreadex

00330000 cxLibraryVCLD7.bpl C:\WINDOWS\System32
00390000 dxThemeD7.bpl C:\WINDOWS\System32
003a0000 cxDataD7.bpl C:\WINDOWS\System32
00400000 TaxTech.exe C:
005c0000 vcl70.bpl C:\WINDOWS\System32
00720000 ttCommon.bpl C:
00b10000 cxEditorsVCLD7.bpl C:\WINDOWS\System32
00c50000 dxLayoutControlD7.bpl C:\WINDOWS\System32
00c90000 cxExtEditorsVCLD7.bpl C:\WINDOWS\System32
00d60000 dxBarD7.bpl C:\WINDOWS\System32
00e00000 dxComnD7.bpl C:\WINDOWS\System32
00e10000 IBO40XRT_D7.bpl C:\PROGRAM
00e50000 IBO40CRT_D7.bpl C:\PROGRAM
00f20000 IBO40TRT_D7.bpl C:\PROGRAM
00fa0000 atsSPI2200rp70.bpl C:\WINDOWS\System32
01010000 atsjcl1220rp70.bpl C:\WINDOWS\System32
010c0000 dxDockingD7.bpl C:\WINDOWS\System32
01110000 dxBarExtItemsD7.bpl C:\WINDOWS\System32
01140000 kbmMemD7Run.bpl C:\PROGRAM
01180000 cxVerticalGridVCLD7.bpl C:\WINDOWS\System32
01200000 cxCommonEditingVCLD7.bpl C:\WINDOWS\System32
01240000 cxExportVCLD7.bpl C:\WINDOWS\System32
01260000 cxGridVCLD7.bpl C:\WINDOWS\System32
01360000 cxPageControlVCLD7.bpl C:\WINDOWS\System32
01d60000 StoreMan.dll C:\Program Files\Panda
Software\Panda Platinum Internet Security
02470000 DocumentSearch.ttp C:
028a0000 dxmdsD7.bpl C:\WINDOWS\System32
02ad0000 DocumentTreeFrame.ttp C:
02e10000 cxTreeListVCLD7.bpl C:\WINDOWS\System32
030a0000 DocumentViewer.ttp C:
039a0000 HappyButton.ttp C:
03e00000 HistoryViewer.ttp C:
04350000 KWICTree.ttp C:
048a0000 NoteViewer.ttp C:
06340000 SSSensor.dll C:\Program Files\Panda
Software\Panda Platinum Internet Security\Firewall
10000000 pavoepl.dll C:\Program Files\Panda
Software\Panda Platinum Internet Security
40000000 rtl70.bpl C:\WINDOWS\System32
40220000 vclx70.bpl C:\WINDOWS\System32
40260000 vcljpg70.bpl C:\WINDOWS\System32
40330000 dbrtl70.bpl C:\WINDOWS\System32
40530000 gds32.dll C:\WINDOWS\System32
40800000 vcldb70.bpl C:\WINDOWS\System32
41000000 borlndmm.dll C:\WINDOWS\System32
5ad70000 uxtheme.dll 6.0.2800.1106 C:\WINDOWS\System32
5b0a0000 umdmxfrm.dll 5.1.2600.0 C:\WINDOWS\System32
5cd70000 serwvdrv.dll 5.1.2600.0 C:\WINDOWS\System32
63000000 SynTPFcs.dll C:\WINDOWS\System32
70a70000 SHLWAPI.dll 6.0.2800.1400 C:\WINDOWS\system32
71950000 COMCTL32.dll 6.0.2800.1106 C:
71aa0000 WS2HELP.dll 5.1.2600.0 C:\WINDOWS\System32
71ab0000 WS2_32.dll 5.1.2600.1240 C:\WINDOWS\System32
71ad0000 wsock32.dll 5.1.2600.0 C:\WINDOWS\System32
71b20000 mpr.dll 5.1.2600.0 C:\WINDOWS\system32
73000000 winspool.drv 5.1.2600.1106 C:\WINDOWS\System32
74d30000 oledlg.dll 5.1.2600.0 C:\WINDOWS\System32
76360000 WINSTA.dll 5.1.2600.1106 C:\WINDOWS\System32
76380000 msimg32.dll 5.1.2600.1106 C:\WINDOWS\System32
763b0000 comdlg32.dll 6.0.2800.1106 C:\WINDOWS\system32
76780000 SHFOLDER.dll 6.0.2800.1106 C:\WINDOWS\System32
76b40000 winmm.dll 5.1.2600.1106 C:\WINDOWS\System32
76c90000 imagehlp.dll 5.1.2600.1106 C:\WINDOWS\system32
76f90000 Secur32.dll 5.1.2600.1106 C:\WINDOWS\System32
77120000 oleaut32.dll 3.50.5016.0 C:\WINDOWS\system32
771b0000 OLE32.DLL 5.1.2600.1362 C:\WINDOWS\system32
773d0000 SHELL32.dll 6.0.2800.1233 C:\WINDOWS\system32
77c00000 version.dll 5.1.2600.0 C:\WINDOWS\system32
77c10000 MSVCRT.DLL 7.0.2600.1106 C:\WINDOWS\system32
77d40000 user32.dll 5.1.2600.1255 C:\WINDOWS\system32
77dd0000 ADVAPI32.dll 5.1.2600.1106 C:\WINDOWS\system32
77e60000 kernel32.dll 5.1.2600.1106 C:\WINDOWS\system32
77f50000 ntdll.dll 5.1.2600.1217 C:\WINDOWS\System32
78000000 RPCRT4.dll 5.1.2600.1361 C:\WINDOWS\system32
7e090000 GDI32.dll 5.1.2600.1346 C:\WINDOWS\system32

77f69ebf push esi
77f69ec0 call -$1c7 ($77f69cfe)
77f69ec5 mov eax, [esi+$10]
77f69ec8 mov [ebp-4], eax
77f69ecb mov eax, [esi]
77f69ecd > inc dword ptr [eax+$10]
77f69ed0 mov eax, [ebp-4]
77f69ed3 and eax, 1
77f69ed6 mov [ebp-$18], eax
77f69ed9 mov eax, [esi]
77f69edb inc dword ptr [eax+$14]