Common C++ memory, runtime, and undefined behavior errors with detailed low-level explanations.
Accessing memory that your program is not allowed to access.
Accessing memory that has already been freed (deleted).
Heap memory is allocated but never freed, causing the process to grow indefinitely.
Code that violates the C++ standard, allowing the compiler to do anything.
Freeing the same memory allocation more than once.
The linker cannot find the implementation for a declared function or variable.
Accessing an STL container element with an index past its valid range.
Reading or operating on an object after its state has been moved.
Memory allocation using new operator failed due to insufficient available memory.
Invoking a pure virtual method inside constructor or destructor during object destruction.
Failed runtime cast from a base class reference to a derived class reference using dynamic_cast.