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

  • Home
  • SEARCH
  • 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 8322673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:28:07+00:00 2026-06-08T23:28:07+00:00

VS2008, C. Also using some pre-built libraries. When I step through my code in

  • 0

VS2008, C. Also using some pre-built libraries.
When I step through my code in the debugger and over the library functions being called, I get this:

HEAP[unit_test.exe]: Heap missing last entry in committed range near
35c70 Windows has triggered a breakpoint in unit_test.exe.

This may be due to a corruption of the heap, which indicates a bug in
unit_test.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while unit_test.exe has
focus.

The output window may have more diagnostic information.

Any ideas on how to debug this?

Update: I refactored the code and see that I get the popup when doing a printf(). I also get it when there is a free(). I commented out those lines and now when there is a malloc(), I get the heap corruption popup dialog.

  • 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-08T23:28:08+00:00Added an answer on June 8, 2026 at 11:28 pm

    I’d suggest you start by using Application Verifier to test for heap corruption. Application Verifier is a free tool from Microsoft that helps identify resource leaks and heap corruption. You can find App Verifier at url: http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=20028 You can find out how to enable it for heap corruption and other things from http://technet.microsoft.com/en-us/library/bb457063.aspx

    It is often useful in these situations.

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

Sidebar

Related Questions

After trying out VS2010b2 also my VS2008 installation changes the versions of solution and
I have a C++ project I am building in VS2008. This project also links
VS2008's Setup Projects have a handful of built-in prerequisites (e.g. .NETfx version, VSTO, PowerPacks)
Using VS2008 and ASP.NET 3.5 (or VS 2010 / .NET 4.0?), how can I
I have some code which makes use of Extension Methods, but compiles under .NET
Some Background: I have a VS 2008 Deployment project I am not using the
I'm using VS 2008 Developer Edition and am finding some bugs with the Test
I have one C code app. which i was building using MS-VS2005. I had
I am debugging a vs2008 web application project using the custom web server option
I've noticed that applications developed using MFC Feature Pack (VS2008), when restored from minimized

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.