Uploaded image for project: 'Blacktie'
  1. Blacktie
  2. BLACKTIE-147

valgrind reports that memory leaks in SimpleOrbTest

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.M3
    • Component/s: All C++
    • Labels:
      None

      Description

      I have reported the bug at the TAO bugzilla instance: http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3809

      running atmibroker-core tests following instructions at http://www.jboss.org/community/docs/DOC-13540

      valgrind reports:
      ==19228== 1,280 bytes in 20 blocks are definitely lost in loss record 8 of 8
      ==19228== at 0x4A06DAC: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:250)
      ==19228== by 0x50761B6: ACE_TSS<TAO_ORB_Core_TSS_Resources>::make_TSS_TYPE() const (TSS_T.cpp:60)
      ==19228== by 0x5055AF9: ACE_TSS<TAO_ORB_Core_TSS_Resources>::ts_get() const (TSS_T.cpp:218)
      ==19228== by 0x5054BF2: TAO_Leader_Follower::set_client_thread() (TSS_T.cpp:53)
      ==19228== by 0x5054EFB: TAO_Leader_Follower::wait_for_event(TAO_LF_Event*, TAO_Transport*, ACE_Time_Value*) (Leader_Follower.inl:205)
      ==19228== by 0x508FEEC: TAO::Synch_Twoway_Invocation::wait_for_reply(ACE_Time_Value*, TAO_Synch_Reply_Dispatcher&, TAO_Bind_Dispatcher_Guard&) (Synch_Invocation.cpp:258)
      ==19228== by 0x5090510: TAO::Synch_Twoway_Invocation::remote_twoway(ACE_Time_Value*) (Synch_Invocation.cpp:174)
      ==19228== by 0x504DC81: TAO::Invocation_Adapter::invoke_twoway(TAO_Operation_Details&, TAO_Pseudo_Var_T<CORBA::Object>&, TAO::Profile_Transport_Resolver&, ACE_Time_Value*&) (Invocation_Adapter.cpp:299)
      ==19228== by 0x504D571: TAO::Invocation_Adapter::invoke_remote_i(TAO_Stub*, TAO_Operation_Details&, TAO_Pseudo_Var_T<CORBA::Object>&, ACE_Time_Value*&) (Invocation_Adapter.cpp:273)
      ==19228== by 0x504DFF1: TAO::Invocation_Adapter::invoke_i(TAO_Stub*, TAO_Operation_Details&) (Invocation_Adapter.cpp:96)
      ==19228== by 0x504D6F5: TAO::Invocation_Adapter::invoke(TAO::Exception_Data*, unsigned long) (Invocation_Adapter.cpp:50)
      ==19228== by 0x508727B: TAO::Remote_Object_Proxy_Broker::_is_a(CORBA::Object*, char const*) (Remote_Object_Proxy_Broker.cpp:41)

      This leak is deterministic based on the number of ORBs created and as such is not a show-stopper as in the usual behavior a predictable number of orbs are created.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tomjenkinson Tom Jenkinson
                Reporter:
                zhfeng Amos Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: