The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14868 
====================================================================== 
Reported By:                Brendan Shanks
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14868
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-04-08 14:06 EDT
Last Modified:              2014-04-08 14:06 EDT
====================================================================== 
Summary:                    Visual Studio 2005/2008 crashes when debugging WinCE
6 CMake projects
Description: 
Whenever I try to debug a Windows CE app with Visual Studio project files
generated by CMake, Visual Studio crashes.
VS2005 and 2008 both crash in the same way: right after the EXE is deployed,
with an access violation in devenv.exe (somewhere inside malloc())

I've only tested this with WinCE 6 and deploying/debugging on the emulator
(using a generic BSP I built). If I create a new project from inside Visual
Studio, debugging works fine.

It crashes after the EXE is deployed to the emulator, but if I make sure the
msvcr DLL is copied to the same directory, the binary does work correctly (when
launched from inside CE).

I have had this problem with both cmake 2.8.12.2 and cmake 3.0-rc3

Steps to Reproduce: 
Start with an extremely simple CMake project (like the one I attached).

> cd ce_cmake_test
> mkdir build
> cd build
> cmake -G "Visual Studio 9 2008 BKSEmulator_Rls (ARMV4I)" ..
Inside build, open ce_cmake_test.sln
Choose Debug->Start Debugging
After the deploy to the emulator succeeds, Visual Studio crashes ("Microsoft
Visual Studio has encountered a problem and needs to close")

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-04-08 14:06 Brendan Shanks New Issue                                    
2014-04-08 14:06 Brendan Shanks File Added: ce_cmake_test.zip                   

======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to