Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8128363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:51:09+00:00 2026-06-06T07:51:09+00:00

When running the Microsoft Application Verifier i would get an error 0202 on shutdown:

  • 0

When running the Microsoft Application Verifier i would get an error 0202 on shutdown:

VERIFIER STOP 00000202:
   pid 0x1160: Freeing heap block containing an active critical section. 
   11456F48 : Critical section address.
   047D05B4 : Critical section initialization stack trace.
   11456F40 : Heap block...(cut off)

The error would happen while calling GdiplusShutdown.

From the Application Verifier documentation:

Freeing heap block containing an active critical section

Application Verifier break message

Freeing heap block containing an active critical section. Memory location at of size contains an active lock.

Probable cause

This break is generated if a heap allocation contains a critical section, the allocation is freed and the critical section has not been deleted.

Information displayed by Application Verifier

  • Parameter1 – Critical section address
  • Parameter2 – Critical section initialization stack trace
  • Parameter3 – Heap block address
  • Parameter4 – Heap block size
  • Description – Freeing heap block containing an active critical section

Additional information

Verifier stop code 0202.

Check the contents of the current call stack. The culprit is usually the caller of HeapFree or HeapDestroy on the current stack trace.

Frequency of this error is high.

To debug this stop use the following debugger commands:

  • !cs –s parameter1 – dump information about this critical section.
  • ln parameter1 – to show symbols near the address of the critical section. This should help identify the leaked critical section.
  • dds parameter2 – to dump the stack trace for this critical section initialization.

parameter3 and parameter4 might help understand where was this heap block allocated (the size of the allocation is probably significant).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:51:11+00:00Added an answer on June 6, 2026 at 7:51 am

    i had this error a few months ago and i’d forgotten the solution.

    Be sure to free any GDI+ Images (e.g. GdipDisposeImage) before trying to shutdown GDI+.

    Otherwise you leak a Critical Section, and who knows what else. And certainly don’t try to dispose an image after GDI+ has already been shutdown.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the following error when running FXCop: CA1800 : Microsoft.Performance : 'obj', a
When I am running my ASP.NET application I will get an error Server Error
When i am running the application,i got an error as follows: Microsoft JScript runtime
When running my vb6 application I am getting error like, runtime error '53': file
I am trying to get my Azure application through the Microsoft Platform Ready test.
i am trying to access some information from a running Microsoft Word application using
I'm running my own kiosk application as the shell (replacing HKLM/Software/Microsoft/Windows NT/winlogon/shell). The application
I'm trying to get my application running in AppHarbor using a RavenDB instance. I've
Hi, When running my ASP.NET MVC application (using VS mini IIS) I get the
WCAT from Microsoft is as simple as it promises to be. Running it on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.