2 Replies
      Latest reply on Aug 26, 2018 11:57 AM by dazuelos
      dazuelos Level 1 Level 1 (0 points)

        Since 10.13.4 and also with 10.13.5 I found a complex bug related to:

        • power management,
        • different levels of sleeping modes.

        Upon exiting from different sleep states, MacOS X is either in a totally unresponsive state or already crashed (black screen, keyboard not responding, same state 10 minutes later).

         

        I would like to test this different levels of sleep modes with a full control so as to test one at a time.

         

        Which command permits to manually switch MacOS X immediatly in hibernate mode?

         

        It it possible to track down these problems with the debugging kernel?

        • Re: Hunting sleep bug: how to switch to hibernate mode?
          dazuelos Level 1 Level 1 (0 points)

          This is a developper-level question.

          I am talking here of kernel problems (I am a developper, I work on Unix internals and security bugs).

           

          Do you know of debugging functions inside the 10.13 debugging kernel which might help to

          reproduce and analyse this kind of problem?

            • Re: Hunting sleep bug: how to switch to hibernate mode?
              eskimo Apple Staff Apple Staff (9,855 points)

              I’m confused about how your code is running on the hibernate path?  Last time I checked Apple does not support that (for example, while you can write a custom disk driver for macOS, it’s not possible to write a custom disk driver that supports hibernate).

              Share and Enjoy

              Quinn “The Eskimo!”
              Apple Developer Relations, Developer Technical Support, Core OS/Hardware
              let myEmail = "eskimo" + "1" + "@apple.com"