Subject Re: [IBO] gds32.dll access violation
Author Kevin D. Joseph
How do I make the TIB_Session the owner or the other IBO components the
thread uses? I am having a similar problem and I don't see a property on
the connection, query or cursor components to tie them to a session.

Thanks.

Kevin Joseph
kjoseph@...


On Wed, 27 Jun 2001, Jason Wharton wrote:

> Péter,
>
> 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.
>
> Regards,
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: "Péter Karsai" <petkarsai@...>
> To: <IBObjects@yahoogroups.com>
> 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
> 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
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>