请单击以进行评分并提供反馈
MSDN
MSDN Library
Lock Verifier
 The Lock has Already been Initializ...

  开启低带宽视图
此页面仅适用于
Microsoft Visual Studio 2008/.NET Framework 3.5

同时提供下列产品的其他版本:
The Lock has Already been Initialized

Locks violation detected. This provides two messages based on your operating system:

  • For Windows Server 2003: The lock has already been initialized.

  • For Windows XP: Lock has been double initialized.

Usually this stop is generated if a critical section has been initialized more than once. In this case, the stack trace in the Tool Window shows the first initialization of the critical section. The current call stack in the debugger shows where the critical section is being initialized again. It is also possible to get this stop if the critical section or its debug information structure has been corrupted. In this case, the stack trace provided in the Tool Window may be incorrect.

Lock – Critical section address

Owner – N/A

DebugInfo – Critical section debug information address

Description – The lock has already been initialized OR Lock has been double initialized

Trace Description – First Initialization of the lock

Check the contents of the current call stack, which shows where the lock is being initialized for the second time. Check the Tool Window to find the stack trace for the first initialization.

Frequency of this error is high.

Concepts

社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker