2012年7月30日 星期一

Visual Studio Crash Windows when Profiling

當在用 Visual Studio 試著 profile FAAC 的效率時
出現了bluescreen : STOP 0x0000004A
IRQL_GT_ZERO_AT_SYSTEM_SERVICE
而這是我在 Mac Mini (2011) 上還未出現過的現象

經過了Google 一番 終於解決了這個問題
原因是 Visual Studio 2008 SP1 Team System Profiler 在Nehalem或者之後的CPU 用sampling profiler 會hang, 因為當時 Nehalem還沒上市, 而profiler 的 driver (VsPerfDrv90.sys) 是跟 CPU硬體息息相關的.

解決方法很簡單,只要下載 KB958842 Hotfix 並安裝後就ok

http://archive.msdn.microsoft.com/KB958842

沒有留言: