Opened 14 years ago
Last modified 11 years ago
#9659 closed defect
MultiThreaded C# solution crashes Visual Studio 2010 debugger with corrupted memory — at Initial Version
Reported by: | Mike | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.1.2 |
Keywords: | Memory Corruption | Cc: | |
Guest type: | Windows | Host type: | Windows |
Description
I use Virtual Box 4.1.2 with a Windows 7 x64 Guest. On my guest is Visual Studio 2010 Pro.
I'm developing a C# project which makes heavy use of threads. When stepping through the code on my guest the Visual Studio debugger throws the exception:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt"
Using Visual Studio 2010 on the host, the debugger never throws this exception. I tested multiple hardware and rebuilt guest images with the same result. I believe that Virtual Box is corrupting the memory of the Visual Studio debugger.
Attached is the C# project demonstrating the issue.
MultiThreaded C# project showing Visual Studio Debugger memory corruption