VC memory error codes

Source: Internet
Author: User
Tags microsoft c

0x0000007d: indicates that there is not enough memory to start the Microsoft Windows operating system. This is the <span style = "color: # ff6600"> system stop code </span>. It does not belong to the VC memory error code, but in some cases the stop code is also displayed, especially when it is released.Program.


0 xabababab-memory following a block allocated by localalloc (local variable memory block ). Microsoft heapalloc () is used to mark allocated memory blocks before and after memory usage.

0 xabadcafe: start this value to initialize all available memory to capture the pointer with errors.

0xbaadf00d: Microsoft's localalloc (lmem_fixed) is used to mark uninitialized heap memory allocated.

0xbadcab1e: Error Code returned when the Microsoft EVC debugger connection is interrupted.

0 xbeefcace: the magic number of a resource file in Microsoft. NET.

0xc0000005 access conflict: access to the released space may be out of the range of arrays.

0xc0000008: Invalid handle.

0xbaadf00d-heapalloc memory.

0 xcccccccc-uninitialized locals in vc6 when you compile w/GZ (local variables not initialized during compilation, mainly under debug, the system will fill INT 3 with unused memory blocks. the release version is not filled ). The Microsoft C ++ Runtime library is used to mark uninitialized <Span
Style = "color: # ff6600"> stack memory </span>.
In the VC debug version, the assigned values in the stack are first processed with 0xcccccccc. Therefore, in the debug mode, the debugging program finds that values such as 0xcccccccccc are referenced, it indicates that an uninitialized value is being used. This is one of the benefits of debugging in debug mode. If the release mode is used, the system will not use 0xcccccccc for processing. Why 0xcccccccc is selected?
The machine code corresponding to the terminal interrupt INT 3 is 0xcc, and I am not sure. You can use a fixed address to access the data pointed to by the pointer. However, windows may report invalid operations.
To enable programmers to detect errors earlier, the debug version initializes the data pair on the stack to 0xcc. That is to say, if the local variable is not initialized, it will be 0xcc In the debug version.
When passing a value to a pointer object, the object is directly written inCodeThis error may also be reported.
It can be considered that 0x0cc is a placeholder with a special meaning. For a pointer, it is equivalent to null.

0 xcdcdcd: created but not initialised () defined but not initialized. The Microsoft C ++ Runtime library is used to mark uninitialized <span style = "color: # ff6600"> heap memory </span>.

0 xdddddddd-deleted object. Deleted (deleted, in CRT, the memory zone in this state is dead land. At the same time, the boundary DWORD is also cleared .)

0 xdeaddead: the Microsoft Windows STOP error code when the user manually starts the crash.

0 xfdfdfdfd-an unattended identifier that Microsoft uses to mark the heap.

0 xfeeefeee-freed memory set by NT's heap manager memory zone released by heap manager. Heapfree.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.