Home » Developer & Programmer » Precompilers, OCI & OCCI » Stack Trace Error - OCCI
Stack Trace Error - OCCI [message #181677] Tue, 11 July 2006 02:05 Go to next message
Messages: 1
Registered: July 2006
Location: Chennai
Junior Member
We have written a multi-threaded program in C++. Also Using OCCI to interact with Oracle. We have a cursor returning collection of objects.

The connection is established using the following:

When we run this in a single thread, it is perfectly working fine. But when we run it in the multiple thread it is giving
Stack Trace Error and dump core.

When we debug this using dbx, the problem is in the following line

while (ResultSet::DATA_AVAILABLE == rs->next() )

Could anyone please help us to fix this issue?

Thanks & Regards,

Re: Stack Trace Error - OCCI [message #189522 is a reply to message #181677] Fri, 25 August 2006 00:29 Go to previous message
Messages: 28
Registered: July 2005
Junior Member
What objects are you sharing across threads? You cannot share statement and resultset objects. Please go through this.

You should always specify the software version and OS you are using. It will help others to suggest solutions.
Previous Topic: USE OF LIKE IN OCCI Statement String
Next Topic: some problems of occi9 (code)
Goto Forum:

Current Time: Mon Sep 27 23:04:25 CDT 2021