[omniORB] I get nothing out of omniorb 2.6.1 on Linux !

bjornw@fairplay.no bjornw@fairplay.no
25 Nov 1998 12:28:29 +0100


Brecht Vermeulen <Brecht.Vermeulen@rug.ac.be> writes:

> Hi,
>=20
> I have to get running Omniorb2 on my linux system but I'm still not luc=
ky
> (after a full week of trying and reading the mailing archives).
>=20
> I have installed Slackware 3.5 with kernel 2.0.34.
> In the beginning I had egcs 1.0.3 and binutils 2.8.1 and libc 5. Thus I
> upgraded to glibc 2.0.6 (with the Glibc2-HOWTO) and compiled the glibc
> sources for this.
> Then I installed the binaries for the binutils2.9.1.0.15.
> And then I installed egcs1.1b (compiled from the sources with egcs1.0.3=
,=20
> options --prefix=3D/usr/local/egcs1.1b --enable-shared --enable-threads=
).
> Then I downloaded the sources + binaries for omniOrb2.6.1 for
> linux_egcs1.1b_glibc.
> I tried to start omniNames (ldd omniNames was allright) as in the readm=
e,
> but I've got the error BOA_init failed and IOT/trap as described in
> archives/1998-09/0044.html.
I don't know about this - never had the problem with RedHat-5.1 or RedHat=
-5.2
(I think the thread-patches for glibc arrived in glibc-2.0.30(or 29).)

> Then I tried to recompile the sources from omniOrb2.6.1 and succeeded b=
ut
> still the same error.
> I also tried to compile the examples but eg. eg1 gives also a IOT/trap.
> The stack trace was exactly the same as in archives/1998-09/0016.html.
I think this is a problem with the debugger. Try upgrading the debugger
and install the necessary thread-patches with it.

I think you can find the gdb-multi-thread patches at:
http://www.gr.opengroup.org/java/jdk/linux/debug.htm

Also modify src/lib/omnithread/posix.cc and apply a patch (posted here
some days ago by the omniorb-maintainer) to work around a bug in
pthread_cond_timedwait()

Then rerun gdb on omniNames, you ought to get a better stacktrace then.

-------------------------------------------------------
Bj=F8rn Wennberg              email: bjornw@fairplay.no=20
                               ms: +47 950 82 657
Senior Programmer           phone: +47 22405538
FairPlay International AS     fax: +47 22405539