Executable not running R6010

2019-05-20 03:55发布

I developed a project on VS 2010 using c++ qt. When I run the project in debug or release mode it works great. But what I want is to run it by double clicking on the generated executable, unfortunately when I do that I get a R6010 Error .. abort has been called.

I want to solve this problem to help me creating an installer for my project.

Thank you in advance.

3条回答
等我变得足够好
2楼-- · 2019-05-20 04:23

Most likely you are running out of Virtual Address space. Possibly because you are making x86 binary and that is restricting the VA space that user mode process will get. Try using x64 binary. Memory management of Win 8.1 is much better than Win 7 (Win7 becomes unresponsive when footprint reaches GBs)

查看更多
混吃等死
3楼-- · 2019-05-20 04:31

It happened to me exactly the same, and the problem was that the executable was reading a configuration file and some image files that were not in the same directory as the executable, and obviously nonexistent program attempted to read files so the error occurred. What I did was copy the files that are read from my program to the same directory where the executable is found and everything was arranged. Check if this is your case. Greetings!

查看更多
女痞
4楼-- · 2019-05-20 04:43

Today I had the same error, my solution was to debug and checking if specific call of C++ function reads or writes data out of range. In my case I was trying to access to element of STL container that didn't exist.

http://www.cplusplus.com/forum/beginner/41485/

查看更多
登录 后发表回答