[ace-users] ACE Threads & Freeing Mismatched Memory Error!
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Wed Aug 8 13:03:43 CDT 2007
Hi Jay,
Thanks for using the PRF.
>ACE VERSION: 5.5
Please upgrade to ACE+TAO+CIAO x.5.10 (i.e., ACE 5.5.10, TAO 1.5.10, and
CIAO 0.5.10), which you can download from
http://download.dre.vanderbilt.edu
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
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html
Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out
http://www.dre.vanderbilt.edu/support.html
for a list of companies that will provide you with ACE+TAO commercial
support.
Thanks,
Doug
>HOST MACHINE and OPERATING SYSTEM: Windows XP
>
>COMPILER : Compiler with VC7.1 IDE
>
>SYNOPSIS:
>
>I get a Freeing Mismatched memory error when I use ACE_Threads in my
>application.
>
>DESCRIPTION:
>
>I am creating few threads using ACE_Thread_Manager's spawn/spawn_n
>function. My thread function is of type ACE_THR_FUNC and it returns 0
>on exit. But, when I run my code using Rational Purify, it gives a
>Freeing Mismatched Memory error in thread_adapter.cpp file of ACE at
>line 151. Strangely the allocation location is also the same.I just
>use the wait function of thread manager to wait for the threads to
>complete. Am I missing something here? Should I use some other
>function to exit the thread or something? Please help.
>
>Thanks in Advance!
>
>Regards,
>Jay
>
--
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
mailing list