Tests crash because of lack of administrator rights on MinGW.
-
Hello.
Scince recently some my tests begin to crash when I use MinGW. In the same time there is no problem when I use MSVC. Also I can run tests with MinGW if Qt Creator was started with administrator rights.
What's the problem? How can I avoid that?
Thanks. -
@HostGhost said in Tests crash because of lack of administrator rights on MinGW.:
What's the problem?
What are these failing tests doing? You need to provide more information, else only guessing is possible.
-
@HostGhost said in Tests crash because of lack of administrator rights on MinGW.:
internal memory
What internal memory?
Is there any error message if they crash? It is really unclear what is happening. -
@jsulm,
I mean... disk "C:\", for example. :)
No, there is no error message - only "failed to start project test", "FATAL" result and command line information. And after that I have to restart creator because of tests stop responding so I can't stop them. Also, if I try to debug that tests, windows asks for administrator rights, but it's not help if I give them: result the same. Only when I run creator with administartor rights I can run this tests. Or if I use MSVC instead of MinGW. -
@HostGhost Where on the hard disk is your project located? And where is the build directory?
Do you have active anti-virus software running? -
@HostGhost And your user has full (read/write/execute) access rights in that path?
-
Use a debugger, add some output to see what's going wrong.
-
@Christian-Ehrlicher,
When I use debugger for that tests, windows asks for administrator rights, and then gdb stops responding.