[omniORB] Object To String (O2S) conversion problem

Gregory Giguashvili Gregoryg@ParadigmGeo.com
Sun Aug 25 11:37:01 2002


>I don't think the SIGPIPE is due to the uninitialised data. There _is_
>sometimes uninitialised data in IORs (and other marshalled data),
>since GIOP uses padding to align values. When omniORB needs to insert
>padding bytes, it just skips over the data, allowing whatever happens
>to be there to be output to the stream. This does no harm at all,
>except that it upsets memory checking tools like valgrind. Most GIOP
>messages contain some uninitialised padding, but the buffers are
>usually reused, meaning most data is initialised as far as tools
>watching them are concerned.
This is harmless, indeed.

>What led you to believe that it's the initialised data that is causing
>the SIGPIPE?
I'm ashamed to say, but after looking into the problem for some more time, I
found a problem with the lack of CORBA initialization in one of my
libraries.

Thanks a lot for the response.
Giga