C Runtime Error R6018


unexpected heap error

System_CAPS_ICON_note.jpg Note

If you encounter this error message while running an app, the app was shut down because it has an internal problem. There are several possible reasons for this error, but often it's caused by a defect in the app's code.

You can try these steps to fix this error:

  • Use the Apps and Features or Programs and Features page in the Control Panel to repair or reinstall the program.
  • Check Windows Update in the Control Panel for software updates.
  • Check for an updated version of the app. Contact the app vendor if the problem persists.

Information for Programmers

The program encountered an unexpected error while performing a memory-management operation.

This error usually occurs if the program inadvertently alters the run-time heap data. However, it can also be caused by an internal error in the runtime or operating-system code.

To fix this issue, check for heap corruption bugs in your code. For more information and examples, see CRT Debug Heap Details. Next, check that you are using the latest redistributables for your app deployment. For information, see Deployment in Visual C++.