QFileDialog::getOpenFileName crashes when debugging, apparently caused by project name?

与世无争的帅哥 提交于 2019-12-06 03:08:19
user4953060

I had the same problem and the solution was to uninstall git software, which made context menu in windows explorer.

I got the problem that the program crashed in Visual Studio 2013 Debugger when using QFileDialog::getOpenFileName():

Access Violation while reading position 0xFEEEFEEE

It did not crash when I run the program without debugger or when I set the combine Context option in the project configuration -> debugger -> combine with environment = "No".

I re-installed Visual Studio, Qt and nothing helped.

Finally I removed the git-software I have installed the same day and I uninstalled the software; then afterwards the program didn't crash in Debugger anymore.

I am using a Windows 64-bit computer, but run the Qt program with 32 bit. The git software had a context menu in the windows explorer and somehow this interfered with QFileDialog and caused the problem.

Uhhhh wow okay. I noticed DropboxExt_24 in my call stack for some reason. So I uninstalled the Dropbox app, and suddenly, everything is working correctly. Reinstalled it, and everything still works, so problem solved, I guess?

I've been hosting my code on Dropbox to keep it backed up, not sure if that was related to the issue or not.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!