Andrew B. Lundgren | 5 Oct 2002 01:15
Favicon

Re: core problems.


Found the initialize call...  I'll see if the adopt solves the problem now.

Lundgren, Andrew wrote:
> I am having problems using:
> 
> gcc 2.95.3
> RH Linux 7.2
> STLport 4.5.3.
> 
> 
> I am having core dumps when calling initOrb on Linux.  The exact same code works fine on Solaris using either
SunCC 5.3 or GCC 2.95.3, both with STLPort 4.5.3.
> 
> I have been aware for some time that we should be Adopting threads into the JTC before using them.  So I
thought that could be the problem.  I modified the code to adopt the 
> thread, and now the adopt constructor cores.
> 
> The I created the following code as a test driver.  It core dumps on linux when creating the adopt.
> 
> 
> #include <JTC/Thread.h>
> 
> int main(int, char**)
> {
>      JTCAdoptCurrentThread adoptme;
> }
> 
> 
> Is there something that needs to be done to the JTC lib to initialize it that I might be missing?
> 
> Thanks!
> 

--

-- 
Andrew Lundgren
Andrew.Lundgren <at> level3.com
Senior Software Engineer

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://www.orbacus.com/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html


Gmane