[omniORB] newbie question--objects "Aborting".
Duncan Grisby
duncan@grisby.org
Fri Mar 7 12:15:03 2003
On Tuesday 4 March, "Mark Thomas" wrote:
> I am new to omniORB. I like what I've read about it, and I have high
> hopes for using it in our environment--if I can get it to work. I have
> compiled omniORB 4 and omniORBpy 2 under SuSE Linux 8.0, and I've started
> omniNames with what I think is a functional, minimalist config file. When
> I start one of the examples (e.g. example_echo_srv.py), the object can
> generally handle two client connections, initiated one after the other.
> On the third connection attempt, one or both objects will abort (either
> the client or both client and server). This behavior is consistent across
> all of the examples I have tried.
Almost certainly, your C++ compiler is broken. Try running your code
with -ORBtraceLevel 10. You will probably see a message about an
exception being thrown just before it aborts. That's a sign that
exception handling is not thread safe.
See if there are any updates available for the compiler in SuSE.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --