Last week I updated SQL Server 2012 SP1. At the same time I also updated Visual Studio 2012 to Update 1, so I have no idea if the two are related. Now, I have a consistently reproducible problem whereby SQL Server Management Studio 2012 crashes every time I lock and unlock my workstation. This happens on two separate workstations, but both have similar software installed on them. The crash occurs in wpfgfx_v0400.dll by the looks of things.The crash occurs on the main window. If I open SSMS and leave it on the "Connect to Server" dialog, I can lock and unlock the workstation, but the crash will only happen once the dialog is dismissed. It also appears to be related to mouse events - if I unlock the workstation with the mouse away from the window, I can move the mouse over the background areas of the window with no problem, but as soon as I touch a UI element that reacts to hover, the crash occurs. If I left a query window open and active, it crashes immediately on unlock, even with the mouse away.Most of the time I'd been noticing VS automatically restart itself (which implies the crash happens when the workstation is locked, as it had already restarted by the time I returned to my desk).Fault bucket 3280890008, type 1Event Name: APPCRASHResponse: Not availableCab Id: 0Problem signature:P1: Ssms.exeP2: 2011.110.3000.0P3: 5081c1cdP4: wpfgfx_v0400.dllP5: 4.0.30319.17929P6: 4ffa7c81P7: c0000005P8: 000204c7P9: P10: I managed to attach a VS debugger to get some stack frame information if that's any help:> wpfgfx_v0400.dll!CDisplaySet::ReadDisplayModes() + 0x17 bytes wpfgfx_v0400.dll!CDisplaySet::Init() + 0x5a bytes wpfgfx_v0400.dll!CDisplayManager::CreateNewDisplaySet() + 0x40 bytes wpfgfx_v0400.dll!CDisplayManager::DangerousGetLatestDisplaySet() + 0x3ebd bytes wpfgfx_v0400.dll!CDisplaySet::DangerousHasDisplayStateChanged() + 0x72835 bytes wpfgfx_v0400.dll!CMILFactory::UpdateDisplayState() + 0x34 bytes wpfgfx_v0400.dll!CComposition::ProcessComposition() + 0x2c bytes wpfgfx_v0400.dll!CComposition::Compose() + 0x42 bytes wpfgfx_v0400.dll!CPartitionThread::RenderPartition() + 0x1b bytes wpfgfx_v0400.dll!CPartitionThread::Run() + 0x2d bytes wpfgfx_v0400.dll!CPartitionThread::ThreadMain() + 0x1c bytes kernel32.dll!76cd33aa() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] ntdll.dll!779e9ef2() ntdll.dll!779e9ec5() Component version Info copied from SSMS:Microsoft SQL Server Management Studio 11.0.3000.0Microsoft Data Access Components (MDAC) 6.1.7601.17514Microsoft MSXML 3.0 6.0 Microsoft Internet Explorer 9.10.9200.16438Microsoft .NET Framework 4.0.30319.17929Operating System 6.1.7601
Product Language
Version
Category
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Platform
Virtualization