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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:46:16+00:00 2026-06-04T07:46:16+00:00

Since some days, I have been facing a problem in Visual Studio 2008, related

  • 0

Since some days, I have been facing a problem in Visual Studio 2008, related to my C++ software.
If I set Visual Studio settings to “Release Win32” mode, it works fine.

But if I set it to “Debug Win32”, it has crash problems when using delete. Compiling is alright, but, when running, the software crashes on 1st “delete” it meets.

Consider this snaphsot:

enter image description here

As you can see, when software arrives to “delete temp;” command execution, it crashes showing the message:

Debug Assertion Failed!
Program…
Expression _BLOCK_TYPE_IS_VALID(pHead->nBlockHouse)

What is the problem?
How to solve it?

Why in “Release” mode it doesn’t have any errors?

Thanx

  • 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-04T07:46:17+00:00Added an answer on June 4, 2026 at 7:46 am

    You should only delete what you new and delete[] what you new[]. Nothing else. You’re also trying to use a null pointer to call a function. What happens when you try to call a method of nothing? Well, it can’t be anything good.

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

Sidebar

Related Questions

I have been trying since some days now to find a concrete answer for
I am trying to have some clever dates since a post has been made
for some days i have been struggeling with making only certain ips accessing my
I wrote a program which solves some kind of optimization problem. I have been
Since it came out a few days ago, I am sure at least some
Silverlight has been available since quite some time, and Silverlight 2 allows .Net programming
I've been doing some cocoa since a week, and I'm getting kinda good with
I have been trying since yesterday to get google like paging, but each time
Since I started iPhone/iPod Development I have come across some differences between how the
I am entering mobile development. I have been working primarily in .NET since 1.0

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.