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] exec (or internally processEvents) hangs sometimes after a wake-up from sleep

[SOLVED] exec (or internally processEvents) hangs sometimes after a wake-up from sleep

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 972 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.
  • F Offline
    F Offline
    floatingWoods
    wrote on last edited by
    #1

    Hello,

    my application strangely hangs sometimes after a wake-up of my PC from sleep (Windows 8, Qt 5.1.1). I say "strangely" because I am logging all my various routines the exec call might be calling, but the hanging doesn't happen in my routines/functions. So that my conclusion is that the hang very probably happens internally (and only after a wak-up from sleep).

    Is there any known issue, or subtle thing I might have forgotten?

    Thanks

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Have you tried to run it with a debugger attached and break to see the call stack where it hangs?

      1 Reply Last reply
      0
      • F Offline
        F Offline
        floatingWoods
        wrote on last edited by
        #3

        Thank you Chris, that actually helped:

        I tried debugging previously, but the problem never happened at that time. So I tried again by being a little bit more patient and the problem occured:

        it is in fact linked to TeamViewer (the desktop sharing software) that automatically added a little arrow in each of my windows (i.e. for quick sharing with others). And that TeamViewer actually hung. Disabling those little arrows completely resolved my problem.

        Thanks again

        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