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. qnetwork hibernate macos freezes
Forum Updated to NodeBB v4.3 + New Features

qnetwork hibernate macos freezes

Scheduled Pinned Locked Moved Unsolved General and Desktop
qnetworkhibernatefreeze
4 Posts 2 Posters 1.6k 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.
  • G Offline
    G Offline
    geostein8888
    wrote on 15 Jun 2016, 08:56 last edited by
    #1

    Hello,
    I have a mac application what polls with the qnetworkaccessmanager every minute to a server to get updates form him. this all works fine, up to the moment the mac goes into hibernate mode. If this happens, after a wakeup 90% of the time the application freezes completely and needs to be forced quit and restarted.
    What can cause this? It looks like there was going out a request shortly before the hibernate, what comes back (reply) when the mac woke up.

    I tried already to delete the qnam after wake up and create a new instance of it before a new request is send out, but here most of the time the app is also freezing

    with regards
    Georg

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 15 Jun 2016, 22:44 last edited by
      #2

      Hi,

      By hibernate do you mean closing a MacBook Pro screen ? Or put it to sleep from the Apple menu ?

      In any case, can you reproduce that with a minimal project ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 1 Reply Last reply 16 Jun 2016, 03:54
      0
      • S SGaist
        15 Jun 2016, 22:44

        Hi,

        By hibernate do you mean closing a MacBook Pro screen ? Or put it to sleep from the Apple menu ?

        In any case, can you reproduce that with a minimal project ?

        G Offline
        G Offline
        geostein8888
        wrote on 16 Jun 2016, 03:54 last edited by
        #3

        I mean, the hibernate of a notebook what is not used after a defined time and goes to hibernate, or while closing the MacBook. Not sure if I can make here a small project to simulate this, will try

        georg

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 16 Jun 2016, 21:08 last edited by
          #4

          You don't need to simulate, just have something that small and exhibit the same behavior.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          4/4

          16 Jun 2016, 21:08

          • Login

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