Subject Re: [IBO] gds32.dll access violation
Author Jason Wharton

One thing to be sure of is each thread needs to create a TIB_Session
component and then when you create the other components like the
TIB_Connection make the TIB_Session instance the owner of the other IBO
components the thread uses.

Please do this and if it doesn't clear up your threading problems let me
know all the particulars of the project and some pertinent code to review.
Send privately if you prefer.

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: "Péter Karsai" <petkarsai@...>
To: <>
Sent: Wednesday, June 27, 2001 1:38 AM
Subject: [IBO] gds32.dll access violation

> 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
> 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,
> the whole Execute() method is in a try...except block and
> 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
> 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
> Your use of Yahoo! Groups is subject to