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 4333624
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:25:07+00:00 2026-05-21T10:25:07+00:00

I haven’t done any C++ in a while, but decided to finish a big

  • 0

I haven’t done any C++ in a while, but decided to finish a big project I was working on for someone. I am getting the following error message now though…

HEAP CORRUPTION DETECTED: after Normal Block (#1761) at 0x17DEB940.
CRT Detected that the application wrote to memory after end of heap buffer.

I have been stepping through all of the functions I thought might have caused it but I am at a loss. Is there any way using the more advanced debugging features to hunt this down?

  • 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-05-21T10:25:08+00:00Added an answer on May 21, 2026 at 10:25 am

    It does sound like a classic memory corruption error. The platform would be helpful information. Without seeing your code and it’s complexity there are a couple of possibilities:

    1. I’ll make a guess that the runtime
      library would allow you to add calls to the
      heap validation code directly from
      your code. I would suggest placing
      calls to the heap validation code in
      various places in your code so you
      can figure out where things go
      wrong. You’ll find the place where
      the heap goes bad and you’ll know
      that it was ok at the previous call.
      Keep narrowing down that window if
      you need to and then review the code
      where the problem occurs.

    2. If the same steps corrupt exactly the same place in memory,
      you should be able to use your
      debugger to set a breakpoint (or watchpoint) on the
      memory getting changed. Some of
      those changes may be intended, but
      you should be able to figure out
      which one is the culprit.

    You might use a combination of the two if your code is particularly complex or the steps needed to reproduce this are long – narrow down a section of code that it problematic and then place a breakpoint on the memory location that gets corrupted.

    david

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

Sidebar

Related Questions

I haven't found any documentation on this or seen this done before, but is
Haven't been programming in JS for a while. Now, I have following thing: <html>
Haven't been coding in a bit, but took on a project for a friend.
I haven't found any solution, some people ask almost the same thing, but that
Haven't seen anything about it here but it seems to solve one of the
I haven't used the STL much before, but I started to on this huffman
I haven't been able to get this working and all of the sample code
I haven't actually built an app yet, but I'm confused by documentation on bind-attr.
I haven't done a lot of work with multi-level, pure CSS drop-down menus before,
I haven't seen this question anywhere else, I hope someone can help. I have

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.