Microsoft KB Archive/159776

= FIX: VC++ Crash When Adding Test Case Under Source-Code Control =

Article ID: 159776

Article Last Modified on 12/10/2003

-

APPLIES TO


 * Microsoft Visual C++ 4.0 Standard Edition
 * Microsoft Visual C++ 4.1 Subscription
 * Microsoft Visual C++ 4.2 Professional Edition
 * Microsoft Visual SourceSafe 4.0 Standard Edition

-



This article was previously published under Q159776



SYMPTOMS
When you add a new test case to a Visual Test project and the project is under source-code control, Developer Studio may cause one of the following errors:

MSDEV.EXE - Application Error

MSDEV caused an invalid page fault in module MSVCBLD.PKG at.

The instruction at referenced memory at " ". The memory could not be "read".

MSDEV caused an invalid page fault in module SSSCC.DLL at.

MSDEV caused an invalid page fault in module KERNEL32.DLL at.



RESOLUTION
You must remove the project from source-code control before adding a new test case.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual SourceSafe version 5.0.



Steps To Reproduce Behavior

 * 1) Under File, New, select Project Workspace (MFC AppWizard EXE). Accept all defaults.
 * 2) Under Tools, select Source Control, then select Add To Source Control (keep all files checked out).
 * 3) Select the TestView tab (the one with the red check).
 * 4) Right-click the project name and select New.
 * 5) Give the item a name and leave the type as "Test Case."
 * 6) Click OK. Developer Studio will probably generate a fatal application error.

Additional query words: ssvt visualc

Keywords: kbbug kbfix kbssafe500fix kbusage KB159776

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.