C Runtime Error R6018
unexpected heap error
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:
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++.