Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Access is denied for run application in QtCreator
Forum Updated to NodeBB v4.3 + New Features

[Solved] Access is denied for run application in QtCreator

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 6.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hareen Laks
    wrote on 24 Oct 2013, 03:32 last edited by
    #1

    Hi,

    I'm using Qt 4.7 with CMake 2.8. When I run the application in QtCreator, sometimes I'm getting following compile output and project can not compile further.

    @07:55:57: Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe"
    [ 11%] Built target crypto
    mingw32-make.exe[1]: *** Access is denied.
    . Stop.
    mingw32-make.exe[1]: *** Waiting for unfinished jobs....@

    Have any solution?

    Thanks in advance.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 24 Oct 2013, 13:55 last edited by
      #2

      mostly this error occurs when you didn't quit your application and want to rebuild the exe while it's still running in the background. ;)

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hareen Laks
        wrote on 25 Oct 2013, 09:47 last edited by
        #3

        @ raven-worx,

        Thank you very much for reply me. My task manager displays several running mingw32-make.exes .

        I don't know what I have to do. Can you help me?

        I googled for a solution, some people says this is because of virus guard.

        Thanks again.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 25 Oct 2013, 09:56 last edited by
          #4

          i'm not talking about "mingw32-make.exe" but instead of your application exe (in your case probably crypto.exe?) ... or whatever you are building. The file may still be in use...

          If you are sure it's not your application exe then the problem is somewhere else. But check this first.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on 25 Oct 2013, 10:15 last edited by
            #5

            Best is probably to restart your system at this time.
            As raven-worx commented mingw32-make is not not the real problem. It is your application which is still running.
            One harmless reason could be that the application is still cleaning up. Especially when running an application in the debugger, it is still very fast to allocate large amounts of memory. However, the cleanup may take ages. I had instances where the cleanup took the system several minutes.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Hareen Laks
              wrote on 5 Nov 2013, 06:28 last edited by
              #6

              @ raven-worx, koahnig

              Thank you very much for both of you.

              I couldn't find my application is running when I try to run it again.

              But I got some idea from your answers. I'm using databases and some times I open them in SQLite Expert while program is running. It might be a problem.
              I'll check.

              Thanks again.

              1 Reply Last reply
              0
              • H Offline
                H Offline
                Hareen Laks
                wrote on 6 Nov 2013, 06:21 last edited by
                #7

                I checked that.

                But unfortunately it is not the issue. :(

                I created a sample project and run few times. It is also sometimes denying the Access.

                Is it due to the Virus guard?

                I'm using Kaspersky.

                Thanks for helping me.

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Hareen Laks
                  wrote on 3 Dec 2013, 10:50 last edited by
                  #8

                  Hi all,

                  Finally I found the source of the bug. But still don't know the solution except avoid the cause.

                  When I'm building the project , 3 instances of mingw32-make.exes start to run. After build they all dies. No problem. :)

                  Second time I stop the building by click the small x in build. All 3 created processors dies but it takes some time. No problem. :)

                  Third time I stop building and start building again just after few milliseconds. First 3 mingw32-make.exes haven't got enough time to die. But another 3 created. Now have 6 running mingw32-make.exes. Problem occurred. :(

                  Problem get worse when building stops due to the running exes. Even access is denied it creates another 3 instances of mingw32-make.exes.

                  So time to time access is denying and gradually collect mingw32-make.exes which cause to stuck my PC.

                  This is cause of the error but I don't know any other solution rather than stop clicking small x or wait while for second build.

                  Thank you all

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    Hareen Laks
                    wrote on 13 Dec 2013, 10:43 last edited by
                    #9

                    Dear friends,

                    This is due to virus guard (Kaspersky Endpoint Security 10 for Windows). I turn it off. Now working well.

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved