<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body dir="auto">
<div>It sounds like ACE is not being initialized correctly. There's a discussion of that in the first few chapters of The ACE Programmers Guide. If reading that doesn't help, please write back here and please include the PROBLEM-REPORT-FORM.<br>
<br>
-Steve</div>
<div><br>
On Sep 14, 2015, at 2:41 AM, ΅Λ»αΕτ <<a href="mailto:huipeng.deng@sinovision-tech.com">huipeng.deng@sinovision-tech.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div class="__aliyun_email_body_block">
<div style="clear: both;">Hello everyone,</div>
<div style="clear: both;">I am new to ACE.When I use ACE in my project.I find a strange app crash in my project.Software and hardware information are listed below:</div>
<div style="clear: both;">OS: Win7 Embedded Standard SP1, 64 bit Editon</div>
<div style="clear: both;">ACE version:6.2</div>
<div style="clear: both;">DevTool: VS2012 Update3</div>
<div style="clear: both;">Computer:HP Z820 workstation</div>
<div style="clear: both;"><br>
</div>
<div style="clear: both;">I set the app starting when the computer boots, I log in the computer.The app using ACE crashes.If I restart the app,the crash will never happen again.</div>
<div style="clear: both;">In other words,the crash only happens when the user first uses that app since the computer boots. I attach the process and find that the crashing happens </div>
<div style="clear: both;">int the function ACE_Thread_Exit::instance (void)(file is Thread_Exit.cpp).The code is shown below:</div>
<div style="clear: both;"><br>
ACE_MT (ACE_Thread_Mutex *lock =<br>
              ACE_Managed_Object<ACE_Thread_Mutex>::get_preallocated_object<br>
                (ACE_Object_Manager::ACE_THREAD_EXIT_LOCK);<br>
              ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, *lock, 0));</div>
<div style="clear: both;">I find the variable lock's address is 0x00000008,that is not illegal.But I don't know why this will happen.Because I have called ACE:init() in the main function.</div>
<div style="clear: both;">Can anyone give me some information?Thanks in advance.</div>
<div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br>
</span></div>
<p style="margin: 0px; clear: both;">Mark</p>
<div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br>
</span></div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>ace-users mailing list</span><br>
<span><a href="mailto:ace-users@list.isis.vanderbilt.edu">ace-users@list.isis.vanderbilt.edu</a></span><br>
<span><a href="http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users">http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users</a></span></div>
</blockquote>
</body>
</html>