Subject | gds32.dll access violation |
---|---|
Author | Péter Karsai |
Post date | 2001-06-27T08:38:47Z |
Hello,
We're using IBO in our multi-threaded application server and seems we have
some thread problems.
All client requests run in separate threads, each have own database
connection (connect/disconnect is protected by critical sections). In some
cases, the
database operations in these threads cause access violations in the IB
client DLL, WinDbg reports (only constant parts shown):
Access violation - code c0000005 (first chance)
[register dump]
*** WARNING: Unable to verify checksum for C:\WINNT\System32\gds32.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINNT\System32\gds32.dll -
gds32!perf_report+14d4d:
4055eaa4 8b4804 mov ecx,[eax+0x4]
ds:0023:00000004=????????
This exception may appear in another thread than our client thread, because
the whole Execute() method is in a try...except block and HandleException()
is also overridden to display some info on the debug console.
I'm almost sure the problem isn't with IBO however after re-reading our code
I have no idea what causes this error. Anyone experienced similar or same
problems in multi-threaded enviroment?
TIA for your reply,
Peter Karsai
petkarsai@...
P.S.: Sorry for my poor English
We're using IBO in our multi-threaded application server and seems we have
some thread problems.
All client requests run in separate threads, each have own database
connection (connect/disconnect is protected by critical sections). In some
cases, the
database operations in these threads cause access violations in the IB
client DLL, WinDbg reports (only constant parts shown):
Access violation - code c0000005 (first chance)
[register dump]
*** WARNING: Unable to verify checksum for C:\WINNT\System32\gds32.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINNT\System32\gds32.dll -
gds32!perf_report+14d4d:
4055eaa4 8b4804 mov ecx,[eax+0x4]
ds:0023:00000004=????????
This exception may appear in another thread than our client thread, because
the whole Execute() method is in a try...except block and HandleException()
is also overridden to display some info on the debug console.
I'm almost sure the problem isn't with IBO however after re-reading our code
I have no idea what causes this error. Anyone experienced similar or same
problems in multi-threaded enviroment?
TIA for your reply,
Peter Karsai
petkarsai@...
P.S.: Sorry for my poor English