Re: Segmentation Fault on CosNaming_NamingContext_bind()



Hi,

>         Help Me I just trys to compile tutorial ..
>         from ron garcia on my Redhat 6-2 Box .. with using Orbit 5.03 RPM
>         I got "Segmentation Fault when trying to call
>         CosNaming_NamingContext_bind(name_srv,fac_name, fac, &ev);
>         I include my source file :)
>         Somone tell me why ?

You have to start a name server for this program and provide the IOR (of the
name server) as a command line argument to the factory-server and to the
factory-client, like this: '-ORBNamingIOR=the_IOR_of_the_name_server'
 
>         And How to debug Orbit-C executable..
>         Can i use gdb ..

yes, compile with '-g' and it should work.

Bye,
Sebastian
-- 
Sebastian Wilhelmi                   |            här ovanför alla molnen
mailto:wilhelmi ira uka de           |     är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi   |




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]