I have a desktop application which uses firebird 2.5 as the database.
Sometimes, on some computers the application crashes with this error, which can be seen in the event log:
Faulting application name: duzen_test.exe, version: 184.108.40.20606, time stamp: 0x2a425e19
Faulting module name: KERNELBASE.dll, version: 10.0.16299.309, time stamp: 0xd3aa915c
Exception code: 0x0eedfade
Fault offset: 0x001008f2
Faulting process id: 0x1a50
Faulting application start time: 0x01d3bf53640714a3
Faulting application path: C:\Program Files\duzenlab\duzen_test.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: fc986cb6-6732-4a28-94e5-46c05fc04f5f
I can replicate this error by disconnecting and reconnecting the cat5 network cable or by disabling-enabling the network adapter.
If the calling application or library is itself written in Delphi, the exception can be handled through a normal try...except statement.
On Win32, if the calling application or library is written in another language, the exception can be handled as an operating-system exception with the exception code $0EEDFADE.
In this case, when a runtime error occurs in the library, the calling application terminates.
So, I this error can be related with gds32.dll (which I still use)
Enabling and disabling the network adapter consecutively and quickly is enough to crash the application.
The application connects to the database on start and keeps connected all the time, till it's closed.
Is there any ideas? Can anything be done without the need to change the application?