[omniORB] Some memory errors in OmniOrb4

shashi bhushan singh shashi_it13 at rediffmail.com
Sat Dec 27 15:48:58 GMT 2003


An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20031227/b558e3b4/attachment.htm
-------------- next part --------------
Hi,

I am facing some issues in using OmniORB4 library. 

1) 

On SunOS 5.8 with Rational Purify, some uninitialised memory read errors are shown. I am adding  stack trace for these errors with this mail =>

===================================================================
            _so_send       [libc.so.1]
            omni::tcpConnection::Send(void*,unsigned int,unsigned long,unsigned long) [tcpConnection.cc:173]
            omni::giopStream::sendChunk(omni::giopStream_Buffer*) [giopStream.cc:1069]
            omni::giopImpl12::outputMessageEnd(omni::giopStream*) [giopImpl12.cc:1292]
            omni::GIOP_C::InitialiseRequest() [GIOP_C.cc:144]
            omniRemoteIdentity::dispatch(omniCallDescriptor&) [remoteIdentity.cc:166]
      Reading 105 bytes from 0x1047cc0 in the heap (2 bytes at 0x1047cd6 uninit).
      Address 0x1047cc0 is 24 bytes into a malloc'd block at 0x1047ca8 of 8220 bytes.
      This block was allocated from thread 6:
            malloc         [rtlib.o]
            __bUiLtIn_nEw  [new1.cc:84]
            __builtin_new  [rtlib.o]
            __bUiLtIn_vEc_nEw [new2.cc:39]
            __builtin_vec_new [rtlib.o]
            omni::giopStream_Buffer::newBuffer(unsigned long) [giopStream.cc:655]
========================================================================

2) 
On Linux 2.2.14-6.1.1 I am getting Segmentation Violation. The stack trace for the same is next =>
========================================================================
#0  0x40a0817e in __select () from /lib/libc.so.6
#1  0x40c7ef0c in __DTOR_END__ ()
   from /home/shashi/vzwPTT/build/lib/linux/i686/libomniORB4.so.0
#2  0x40bcaaad in omni::SocketCollection::Select (this=0x81396bc)
    at SocketCollection.cc:271
#3  0x40be6d59 in omni::tcpEndpoint::AcceptAndMonitor (this=0x81396b8,
    func=0x40bb57b0 <omni::giopRendezvouser::notifyReadable(void *, omni::giopConnection *)>, cookie=0x80d9820) at ./tcp/tcpEndpoint.cc:294
#4  0x40bb582f in omni::giopRendezvouser::execute (this=0x80d9820)
    at giopRendezvouser.cc:73
#5  0x40bf3775 in omniAsyncWorker::run (this=0x80d9848) at invoker.cc:152
#6  0x40c88cf4 in omni_thread_wrapper ()
   from /home/shashi/vzwPTT/build/lib/linux/i686/libomnithread.so.3
#7  0x40021b85 in pthread_start_thread (arg=0xbf5ffe40) at manager.c:241 
========================================================================

Can someone provide help on these issues? Any help is really appreciated.

Thanks in advance,
Shashi


More information about the omniORB-list mailing list