[omniORB] NameService crashes - Socket problem?

Sai-Lai Lo S.Lo@orl.co.uk
23 Sep 1998 18:07:54 +0100


Sorry about the empty message sent earlier.

I suspect g++ 2.8.1 is likely to be the source of your problem. Up till
now, I have not receive any success report on using the compiler on HPUX.
May be others can confirm that for us.

If you can, you are better off using HP's compiler.

Sai-Lai


>>>>> Ralf Walther writes:

> Hi CORBAholics,

> I've a problem with omniNames on HP.UX 10.20

> System:   HP-UX 10.20
> Compiler: g++ 2.8.1
> omniOrb   2.5.0

> Compilation of omniORB works fine, I've changed only two lines in the
> hppa_hpux_10.20.mk file.

> 1.) Linking with libstdc++.a instead of libg++.a
> 2.) Delete the string "COPTIONS" in variable COPTIONS; recurive loop

> Now I'm ready to run the NameService (NS). I have two server processes,   
> which
> register their main server object in the NS. Suddenly the NS crashes (see   
> trace no.1).
> Every time there is not enough time between two registrations,
> the NS crashes with a short delay. I think it's a socket problem, because
> if I WAIT till the NS has closed socket no.6, the next registration won't   
> let
> the NS chrash (see trace no.2).
> IF I bother the NS with more than these two registrations, I get the   
> strange message
> 'two man file descriptors open ?' (see trace no.3).



-- 
Dr. Sai-Lai Lo                          |       Research Scientist
                                        |
E-mail:         S.Lo@orl.co.uk          |       Olivetti & Oracle Research Lab
                                        |       24a Trumpington Street
Tel:            +44 223 343000          |       Cambridge CB2 1QA
Fax:            +44 223 313542          |       ENGLAND