[Ace-users] [ace-users] Instantiation of ACE_Task_Base from Windows thread (_beginthreadex) causes memory leak.
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Tue Feb 5 18:05:40 CST 2008
>Because of application requirements, I cannot use ACE throughout my
>application but must speak CORBA to another system. My Windows
>application is MFC based and the CORBA communications within a DLL.
>System requirement-s dictate I use ACE version 5.4.3 and TAO version
You are using a very old version of ACE+TAO! Please upgrade to
ACE+TAO+CIAO x.6.2 (i.e., ACE 5.6.2, TAO 1.6.2, and CIAO 0.6.2), which
you can download from
under the heading: "Latest Beta Kit."
The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in
Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out
for a list of companies that will provide you with ACE+TAO commercial
Thanks very much,
>During runtime, communication works great. I call ACE::init() at the
>beginning of the Windows thread containing ACE/TAO, and I call
>ACE::fini() at the conclusion of the thread (application closing).
>My problem arises when the application is closed. It seems TAO does
>not release its resources (Is this TSS as documented in
>results in my application refusing to allow the DLL to unload. This
>causes my app to crash very regularly when the CORBA DLL is loaded.
>"Use ACE threads wherever possible" is not a solution for us. Is there
>a way to elegantly release the TSS or is there something else I am not
>Thank you so much for your help.
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users