View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014868 | CMake | CMake | public | 2014-04-08 14:06 | 2016-06-10 14:31 | ||||
Reporter | Brendan Shanks | ||||||||
Assigned To | Patrick R. Gansterer | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Visual Studio 2005/2008 SP1 | OS | Windows XP | OS Version | SP3 | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014868: 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") | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0035663) Brendan Shanks (reporter) 2014-04-09 22:56 |
I figured out the cause and something of a workaround--if I set the solution's "Single startup project" to be the actual project (like "ce_cmake_test") rather than ALL_BUILD, debugging works without crashing Visual Studio! |
(0042530) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
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 | |
2014-04-08 14:08 | Brad King | Assigned To | => Patrick R. Gansterer |
2014-04-08 14:08 | Brad King | Status | new => assigned |
2014-04-09 22:56 | Brendan Shanks | Note Added: 0035663 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042530 | |
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |