TlsAlloc failed with TLS_OUT_OF_INDEXES

    Thread local storage (TLS) is useful for application to store thread specific data. It is like most system resources (for example, Security Token leakage issue mentioned by Wei Zhao), we must balance the alloc and free behavior in time, otherwise it will be exhausted. Here I’d like to show a troubleshooting scenario while…


Identify deadlock through the hwnd handler

    As we know, there are some good articles discussing about deadlock detection in action:   Advanced Techniques To Avoid And Detect Deadlocks In .NET Apps http://msdn.microsoft.com/zh-cn/magazine/cc163618(en-us).aspx   contextSwitchDeadlock http://msdn.microsoft.com/en-us/library/ms172233.aspx   There are also some automatic tools can help us to detect deadlock with postmortem dump files, especially for famous DebugDiag 1.1:   http://www.microsoft.com/downloadS/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en…

1

We’d love to share

  Welcome!   This is a new blog for the Microsoft “Developer Support for Internet” Team (Asia region). The whole team locates in ShangHai, China.  Resolving various technical issues for Premier and Profession customers is our job, enhancing customers’ experience with Microsoft technique is our high priority, and the agile connector between customers and Developers…