[omniORB] Problems running omninames on solaris2.6

james.richardson@db.com james.richardson@db.com
Mon, 8 May 2000 13:21:52 +0000


Hi,

I am having terrible trouble running omninames (2.6.1) on a solaris 2.6 box. ( I have successfully installed on solaris 2.5.1 ).
As soon as any connection is made, i get the error

libthread panic: cannot create new lwp ( PID:nnnnnnn LWP: 2)
stacktrace
     ef4ced20
     0


This is a _major_ problem... I would really appreciate any ideas on whats going on.

I had initially thought that it might be because I was using the same version as I compiled on a 2.5.1 box, so I recompiled ( using Sun WorkShop compiler ), on a 2.6 box, same problem. I then tried the 2.8.0 version that i compiled on 2.5.1, same problem, and then the precompiled version from the website, same problem. I have stopped short of recompiling 2.8.0 on a 2.6 box... as I can see a pattern developing.

Im sure that this is a patch or resource issue, but can't think what.

I checked sunsolve for libthread patches, and we had the latest patches they recommended.

one thing i did notice thoug was the link line, which seemd a little suspect:

CC -o omniNames -O2 -fsimple -L ../../../lib/sun4_sosV_5.6 omniNames.o NamingContext_i.o log.o  -lomniORB2 -lomnithread  -lpthread -lposix4 -mt -lsocket -lnsl -ltcpwrapGK

Is it correct to ahve -mt _and_ -lpthread?

Anyway I'm clutching at straws....

_any_ ideas much appreciated...

James Richardson