[ace-users] App start crash

Steve Huston shuston at riverace.com
Mon Sep 14 06:59:49 CDT 2015


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.

-Steve

On Sep 14, 2015, at 2:41 AM, 邓会鹏 <huipeng.deng at sinovision-tech.com<mailto:huipeng.deng at sinovision-tech.com>> wrote:

Hello everyone,
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:
OS: Win7 Embedded Standard SP1, 64 bit Editon
ACE version:6.2
DevTool: VS2012 Update3
Computer:HP Z820 workstation

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.
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
int the function ACE_Thread_Exit::instance (void)(file is Thread_Exit.cpp).The code is shown below:

ACE_MT (ACE_Thread_Mutex *lock =
              ACE_Managed_Object<ACE_Thread_Mutex>::get_preallocated_object
                (ACE_Object_Manager::ACE_THREAD_EXIT_LOCK);
              ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, *lock, 0));
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.
Can anyone give me some information?Thanks in advance.


Mark

_______________________________________________
ace-users mailing list
ace-users at list.isis.vanderbilt.edu<mailto:ace-users at list.isis.vanderbilt.edu>
http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20150914/ba75e404/attachment.html>


More information about the ace-users mailing list