GSA / laptop-management

ALPHA/WIP for OSquery configuration for Mac and Linux Operating Systems
Other
16 stars 9 forks source link

Severe sleep/wake/power/reboot issues affecting many GSA Macs #41

Open konklone opened 6 years ago

konklone commented 6 years ago

Appeared to happen after I shut my computer's lid -- the next time I opened it (the next day, today) the computer was powered off. Upon booting back up, a popup said the computer had been rebooted because of an error, and showed me this message.

Date/Time:       2017-12-08 22:56:18 -0500
OS Version:      Mac OS X 10.12.6 (Build 16G1114)
Architecture:    x86_64h
Report Version:  25

Data Source:     Stackshots

Event:           Sleep Wake Failure
Duration:        0.10s
Steps:           9

Hardware model:  MacBookPro11,1
Active cpus:     4

Process:         kernel_task [0]
Architecture:    x86_64
Version:         Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64
Task size:       1140.70 MB
CPU Time:        0.005

  Thread 0x6b               9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 1256237) [0xffffff8000332b2d] 1-9
     *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
       *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
         *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x6c               9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 1256237) [0xffffff8000332b2d] 1-9
     *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
       *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
         *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x6e               9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  mapping_replenish + 83 (kernel + 2001187) [0xffffff80003e8923] 1-9
     *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
       *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
         *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x8a               9 samples (1-9)           priority 0 (base 0)       idle time 0.102
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  idle_thread + 32 (kernel + 1076128) [0xffffff8000306ba0] 1-9
     *5  processor_idle + 237 (kernel + 1074621) [0xffffff80003065bd] 1-5
       *5  machine_idle + 727 (kernel + 2097991) [0xffffff8000400347] (runnable) 1-5
     *1  processor_idle + 263 (kernel + 1074647) [0xffffff80003065d7] (runnable) 6
     *3  processor_idle + 237 (kernel + 1074621) [0xffffff80003065bd] 7-9
       *3  machine_idle + 727 (kernel + 2097991) [0xffffff8000400347] (runnable) 7-9

  Thread 0x8d               9 samples (1-9)           priority 0 (base 0)       idle time 0.102
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  idle_thread + 32 (kernel + 1076128) [0xffffff8000306ba0] 1-9
     *9  processor_idle + 237 (kernel + 1074621) [0xffffff80003065bd] 1-9
       *9  machine_idle + 727 (kernel + 2097991) [0xffffff8000400347] (runnable) 1-9

  Thread 0x90               9 samples (1-9)           priority 0 (base 0)       idle time 0.102
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  idle_thread + 32 (kernel + 1076128) [0xffffff8000306ba0] 1-9
     *9  processor_idle + 237 (kernel + 1074621) [0xffffff80003065bd] 1-9
       *9  machine_idle + 727 (kernel + 2097991) [0xffffff8000400347] (runnable) 1-9

  Thread 0x120              9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3651423) [0xffffff800057b75f] 1-9
     *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
       *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x146              9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  _cs_thread_create_int(thread_wrapper*) + 28 (CoreStorage + 539806) [0xffffff7f8253bc9e] 1-9
     *9  txg_sync_thread(void*) + 232 (CoreStorage + 252113) [0xffffff7f824f58d1] 1-9
       *9  _cv_wait + 63 (CoreStorage + 539156) [0xffffff7f8253ba14] 1-9
         *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
           *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
             *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
               *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
                 *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                   *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x147              9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  _cs_thread_create_int(thread_wrapper*) + 28 (CoreStorage + 539806) [0xffffff7f8253bc9e] 1-9
     *9  lfs_clean_thread(void*) + 67 (CoreStorage + 201934) [0xffffff7f824e94ce] 1-9
       *9  _cv_wait + 63 (CoreStorage + 539156) [0xffffff7f8253ba14] 1-9
         *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
           *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
             *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
               *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
                 *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                   *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x14a              9 samples (1-9)           priority 46 (base 46)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  CoreStorageDaemon::cryptoDaemon() + 96 (CoreStorage + 527990) [0xffffff7f82538e76] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x14b              9 samples (1-9)           priority 46 (base 46)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  CoreStorageDaemon::cryptoDaemon() + 96 (CoreStorage + 527990) [0xffffff7f82538e76] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x14c              9 samples (1-9)           priority 46 (base 46)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  CoreStorageDaemon::cryptoDaemon() + 96 (CoreStorage + 527990) [0xffffff7f82538e76] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x14d              9 samples (1-9)           priority 46 (base 46)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  CoreStorageDaemon::cryptoDaemon() + 96 (CoreStorage + 527990) [0xffffff7f82538e76] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x16e              9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 6287930) [0xffffff80007ff23a] 1-9
     *9  mach_msg_receive + 167 (kernel + 914919) [0xffffff80002df5e7] 1-9
       *9  ipc_mqueue_receive + 119 (kernel + 850519) [0xffffff80002cfa57] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x1dd              9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 6227948) [0xffffff80007f07ec] 1-9
     *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
       *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x2c0              Thread name "dlil_input_en0"                        9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3655071) [0xffffff800057c59f] 1-9
     *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
       *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x2c1              Thread name "ifnet_start_en0"                       9 samples (1-9)           priority 82 (base 82)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3686068) [0xffffff8000583eb4] 1-9
     *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
       *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
         *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
           *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
             *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
               *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x3aa              Thread name "dlil_input_en1"                        9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3655071) [0xffffff800057c59f] 1-9
     *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
       *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x3ab              Thread name "ifnet_start_en1"                       9 samples (1-9)           priority 82 (base 82)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3686068) [0xffffff8000583eb4] 1-9
     *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
       *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
         *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
           *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
             *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
               *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x3ae              Thread name "dlil_input_en2"                        9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3655071) [0xffffff800057c59f] 1-9
     *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
       *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x3af              Thread name "ifnet_start_en2"                       9 samples (1-9)           priority 82 (base 82)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3686068) [0xffffff8000583eb4] 1-9
     *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
       *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
         *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
           *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
             *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
               *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x3bf              9 samples (1-9)           priority 97 (base 97)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  AppleOSXWatchdog::watchdogMainThread() + 120 (AppleOSXWatchdog + 5680) [0xffffff7f828e9630] 1-9
     *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
       *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
         *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x504              9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 2177919) [0xffffff8000413b7f] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x505              9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 2179458) [0xffffff8000414182] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x506              9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 2179458) [0xffffff8000414182] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x507              9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 2179458) [0xffffff8000414182] 1-9
     *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x54c              Thread name "dlil_input_p2p0"                       9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3655071) [0xffffff800057c59f] 1-9
     *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
       *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x54d              Thread name "ifnet_start_p2p0"                      9 samples (1-9)           priority 82 (base 82)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3686068) [0xffffff8000583eb4] 1-9
     *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
       *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
         *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
           *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
             *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
               *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x591              Thread name "dlil_input_awdl0"                      9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3655071) [0xffffff800057c59f] 1-9
     *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
       *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x592              Thread name "ifnet_start_awdl0"                     9 samples (1-9)           priority 82 (base 82)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3686068) [0xffffff8000583eb4] 1-9
     *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
       *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
         *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
           *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
             *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
               *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x6fc              9 samples (1-9)           priority 97 (base 97)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  rtThreadNativeMain(void*, int) + 37 (VBoxDrv + 191669) [0xffffff7f832fccb5] 1-9
     *9  rtThreadMain + 44 (VBoxDrv + 166892) [0xffffff7f832f6bec] 1-9
       *9  rtTimerThread(RTTHREADINT*, void*) + 68 (VBoxDrv + 171092) [0xffffff7f832f7c54] 1-9
         *9  rtR0SemEventDarwinWait(RTSEMEVENTINTERNAL*, unsigned int, unsigned long long, RTLOCKVALSRCPOS const*) + 470 (VBoxDrv + 186486) [0xffffff7f832fb876] 1-9
           *9  lck_spin_sleep + 169 (kernel + 1014681) [0xffffff80002f7b99] 1-9
             *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
               *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                 *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x6fd              9 samples (1-9)           priority 95 (base 95)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  rtThreadNativeMain(void*, int) + 37 (VBoxDrv + 191669) [0xffffff7f832fccb5] 1-9
     *9  rtThreadMain + 44 (VBoxDrv + 166892) [0xffffff7f832f6bec] 1-9
       *9  supdrvTscDeltaThread(RTTHREADINT*, void*) + 177 (VBoxDrv + 45617) [0xffffff7f832d9231] 1-9
         *9  RTThreadUserWaitNoResume + 84 (VBoxDrv + 168932) [0xffffff7f832f73e4] 1-9
           *9  rtR0SemEventMultiDarwinWait(RTSEMEVENTMULTIINTERNAL*, unsigned int, unsigned long long, RTLOCKVALSRCPOS const*) + 400 (VBoxDrv + 188144) [0xffffff7f832fbef0] 1-9
             *9  lck_spin_sleep_deadline + 178 (kernel + 1014898) [0xffffff80002f7c72] 1-9
               *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
                 *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                   *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x6fe              9 samples (1-9)           priority 97 (base 97)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  rtThreadNativeMain(void*, int) + 37 (VBoxDrv + 191669) [0xffffff7f832fccb5] 1-9
     *9  rtThreadMain + 44 (VBoxDrv + 166892) [0xffffff7f832f6bec] 1-9
       *9  rtTimerThread(RTTHREADINT*, void*) + 68 (VBoxDrv + 171092) [0xffffff7f832f7c54] 1-9
         *9  rtR0SemEventDarwinWait(RTSEMEVENTINTERNAL*, unsigned int, unsigned long long, RTLOCKVALSRCPOS const*) + 470 (VBoxDrv + 186486) [0xffffff7f832fb876] 1-9
           *9  lck_spin_sleep + 169 (kernel + 1014681) [0xffffff80002f7b99] 1-9
             *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
               *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                 *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0xc1b              9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (<25D352C1-559E-320C-AA13-6FFE341C6919> + 34068) [0xffffff7f8335f514] 1-9
     *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
       *9  ??? (kernel + 5795682) [0xffffff8000786f62] 1-9
         *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
           *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
             *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0xe5a              Thread name "ifnet_start_utun0"                     9 samples (1-9)           priority 82 (base 82)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 3686068) [0xffffff8000583eb4] 1-9
     *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
       *9  ??? (kernel + 5795555) [0xffffff8000786ee3] 1-9
         *9  lck_mtx_sleep + 132 (kernel + 1015076) [0xffffff80002f7d24] 1-9
           *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
             *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
               *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x16712            9 samples (1-9)           priority 93 (base 93)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 1188298) [0xffffff80003221ca] 1-9
     *9  ??? (<F7A13F95-CF3F-363C-9A6D-A2EEF4761D23> + 5904) [0xffffff7f833ce710] 1-9
       *9  msleep + 98 (kernel + 5796770) [0xffffff80007873a2] 1-9
         *9  ??? (kernel + 5795682) [0xffffff8000786f62] 1-9
           *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
             *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
               *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x17391            9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  DirtyTrackingTimerThread(void*, int) + 200 (b9kernelsupport + 477753) [0xffffff7f83475a39] 1-9
     *9  DirtyTracking::TimerThread() + 366 (b9kernelsupport + 471990) [0xffffff7f834743b6] 1-9
       *9  AutoClearingEvent::WaitForSignal(unsigned int) + 76 (b9kernelsupport + 24684) [0xffffff7f8340706c] 1-9
         *9  IOCommandGate::runAction(int (*)(OSObject*, void*, void*, void*, void*), void*, void*, void*, void*) + 314 (kernel + 7068410) [0xffffff80008bdafa] 1-9
           *9  DoStall(OSObject*, void*, void*, void*, void*) + 103 (b9kernelsupport + 24836) [0xffffff7f83407104] 1-9
             *9  IOEventSource::sleepGate(void*, unsigned long long, unsigned int) + 83 (kernel + 7062931) [0xffffff80008bc593] 1-9
               *9  IOWorkLoop::sleepGate(void*, unsigned long long, unsigned int) + 126 (kernel + 7057822) [0xffffff80008bb19e] 1-9
                 *9  lck_mtx_sleep_deadline + 168 (kernel + 1015688) [0xffffff80002f7f88] 1-9
                   *9  lck_mtx_lock + 653 (kernel + 618173) [0xffffff8000296ebd] 1-9
                     *9  lck_mtx_lock_wait_x86 + 523 (kernel + 2062075) [0xffffff80003f76fb] 1-9
                       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
                         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x17392            9 samples (1-9)           priority 81 (base 81)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  MiniFilter::MessageQueueWorkerThread(void*, int) + 200 (b9kernelsupport + 166390) [0xffffff7f834299f6] 1-9
     *9  MiniFilter::MessageQueueWorker() + 123 (b9kernelsupport + 174857) [0xffffff7f8342bb09] 1-9
       *9  AutoClearingEvent::WaitForSignal(unsigned int) + 76 (b9kernelsupport + 24684) [0xffffff7f8340706c] 1-9
         *9  IOCommandGate::runAction(int (*)(OSObject*, void*, void*, void*, void*), void*, void*, void*, void*) + 314 (kernel + 7068410) [0xffffff80008bdafa] 1-9
           *9  DoStall(OSObject*, void*, void*, void*, void*) + 103 (b9kernelsupport + 24836) [0xffffff7f83407104] 1-9
             *9  IOEventSource::sleepGate(void*, unsigned long long, unsigned int) + 83 (kernel + 7062931) [0xffffff80008bc593] 1-9
               *9  IOWorkLoop::sleepGate(void*, unsigned long long, unsigned int) + 126 (kernel + 7057822) [0xffffff80008bb19e] 1-9
                 *9  lck_mtx_sleep_deadline + 168 (kernel + 1015688) [0xffffff80002f7f88] 1-9
                   *9  lck_mtx_lock + 653 (kernel + 618173) [0xffffff8000296ebd] 1-9
                     *9  lck_mtx_lock_wait_x86 + 523 (kernel + 2062075) [0xffffff80003f76fb] 1-9
                       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
                         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x37000            9 samples (1-9)           priority 93 (base 93)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 1188298) [0xffffff80003221ca] 1-9
     *9  IOTimerEventSource::timeoutAndRelease(void*, void*) + 192 (kernel + 7083872) [0xffffff80008c1760] 1-9
       *9  Timer::TimeoutHandler(OSObject*, IOTimerEventSource*) + 45 (b9kernelsupport + 27147) [0xffffff7f83407a0b] 1-9
         *9  ??? (kernel + 632211) [0xffffff800029a593] 1-9
           *9  kernel_trap + 755 (kernel + 2088339) [0xffffff80003fdd93] 1-9
             *9  ??? (kernel + 1474822) [0xffffff8000368106] 1-9
               *9  vm_fault_page + 2635 (kernel + 1455099) [0xffffff80003633fb] 1-9
                 *9  vm_compressor_pager_get + 222 (kernel + 1420910) [0xffffff800035ae6e] 1-9
                   *9  vm_compressor_get + 225 (kernel + 1413617) [0xffffff80003591f1] 1-9
                     *9  ??? (kernel + 1413771) [0xffffff800035928b] 1-9
                       *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
                         *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                           *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x37218            9 samples (1-9)           priority 93 (base 93)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 1188298) [0xffffff80003221ca] 1-9
     *9  IOTimerEventSource::timeoutAndRelease(void*, void*) + 103 (kernel + 7083783) [0xffffff80008c1707] 1-9
       *9  IOWorkLoop::closeGate() + 37 (kernel + 7056437) [0xffffff80008bac35] 1-9
         *9  lck_mtx_lock + 653 (kernel + 618173) [0xffffff8000296ebd] 1-9
           *9  lck_mtx_lock_wait_x86 + 523 (kernel + 2062075) [0xffffff80003f76fb] 1-9
             *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
               *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                 *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x37227            9 samples (1-9)           priority 93 (base 93)
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 1188298) [0xffffff80003221ca] 1-9
     *9  IOService::pmDriverCallout(IOService*) + 42 (kernel + 6958474) [0xffffff80008a2d8a] 1-9
       *9  IOService::driverSetPowerState() + 432 (kernel + 6959120) [0xffffff80008a3010] 1-9
         *9  AppleMEClientController::setPowerState(unsigned long, IOService*) + 85 (AppleIntelFramebufferAzul + 269683) [0xffffff7f82bcdd73] 1-9
           *9  IOCommandGate::runAction(int (*)(OSObject*, void*, void*, void*, void*), void*, void*, void*, void*) + 85 (kernel + 7068181) [0xffffff80008bda15] 1-9
             *9  IOWorkLoop::closeGate() + 37 (kernel + 7056437) [0xffffff80008bac35] 1-9
               *9  lck_mtx_lock + 653 (kernel + 618173) [0xffffff8000296ebd] 1-9
                 *9  lck_mtx_lock_wait_x86 + 523 (kernel + 2062075) [0xffffff80003f76fb] 1-9
                   *9  thread_block_reason + 222 (kernel + 1057518) [0xffffff80003022ee] 1-9
                     *9  ??? (kernel + 1062091) [0xffffff80003034cb] 1-9
                       *9  machine_switch_context + 206 (kernel + 2070990) [0xffffff80003f99ce] 1-9

  Thread 0x37236            9 samples (1-9)           priority 93 (base 93)     cpu time 0.005
  <IO tier 0>
 *9  call_continuation + 23 (kernel + 620791) [0xffffff80002978f7] 1-9
   *9  ??? (kernel + 1188298) [0xffffff80003221ca] 1-9
     *9  IOService::watchdog_timer_expired(void*, void*) + 46 (kernel + 6958126) [0xffffff80008a2c2e] 1-9
       *9  IOPMrootDomain::takeStackshot(bool, bool, bool) + 821 (kernel + 7434901) [0xffffff8000917295] 1-9
         *9  stack_snapshot_from_kernel + 364 (kernel + 766156) [0xffffff80002bb0cc] 1-9
           *9  DebuggerWithCallback + 65 (kernel + 2138689) [0xffffff800040a241] (running) 1-9

  Binary Images:
   *0xffffff7f824b8000 - 0xffffff7f8256afff  com.apple.driver.CoreStorage 540.30.1 (540.30.1)             <0E033F13-4AF3-38EB-966E-7FACAAFA222D>  /System/Library/Extensions/CoreStorage.kext/Contents/MacOS/CoreStorage
   *0xffffff7f828e8000 - 0xffffff7f828e9fff  com.apple.driver.AppleOSXWatchdog 1.0 (1)                    <9B1AC3B0-A459-3D88-B43D-428EA39DDB8A>  /System/Library/Extensions/AppleOSXWatchdog.kext/Contents/MacOS/AppleOSXWatchdog
   *0xffffff7f82b8c000 - 0xffffff7f82be3fff  com.apple.driver.AppleIntelFramebufferAzul 10.25.17 (10.2.5) <F205C264-721C-3119-AFF2-5BBEC7910BE0>  /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul
   *0xffffff7f832ce000 - 0xffffff7f83309fff  org.virtualbox.kext.VBoxDrv 5.2.2 (5.2.2)                    <62C4748E-00E8-38C9-8820-3C8791212EA9>  /Library/Application Support/VirtualBox/VBoxDrv.kext/Contents/MacOS/VBoxDrv
   *0xffffff7f83357000 -                ???  ???                                                          <25D352C1-559E-320C-AA13-6FFE341C6919>
   *0xffffff7f833cd000 -                ???  ???                                                          <F7A13F95-CF3F-363C-9A6D-A2EEF4761D23>
   *0xffffff7f83401000 - 0xffffff7f8349cfff  com.bit9.KernelSupport 7.2.3.3471 Patch 5 (7.2.3fc5)         <9BFE7D48-94E3-37BF-85CD-A565A3CE2664>  /Library/Extensions/b9kernel.kext/Contents/PlugIns/b9kernelsupport.kext/Contents/MacOS/b9kernelsupport
   *0xffffff8000200000 - 0xffffff80009fffff  kernel (3789.72.11)                                          <B814CFE3-B6F6-304F-BFB9-C22EFC948A53>  /System/Library/Kernels/kernel

================================================================
UUID: 25A2BEE1-A02E-4996-975D-819CA1B9AF49                         
Code: 00000000 00000014       
Stackshot reason: Watchdog

  Model: MacBookPro11,1, BootROM MBP111.0142.B00, 2 processors, Intel Core i5, 2.6 GHz, 16 GB, SMC 2.16f68
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.21.171.133.1a2)
Bluetooth: Version 5.0.5f1, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512F, 500.28 GB
USB Device: USB 3.0 Bus
USB Device: Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
konklone commented 6 years ago

Posting @annahsebok's comment from #44 here so that this thread has complete info:

Upon getting onto my computer on 12/11/17 (the Monday after Bit9 installation), Chrome completely crapped out on me. It repeatedly crashed, wouldn't open for more than half a second, wouldn't allow me to restore old windows, etc. I imported my chrome bookmarks and history into Safari so that I could work there, but it was enormously disruptive and mentally taxing to deal with this while doing project work. I received no assistance from the help desk, every link I tried to get to from Slack opened a chrome link since chrome was my default browser and this crashed chrome and made my computer freak out. None of my plug-ins in chrome exist in Safari, so for every video or tool I tried to use, I had to go through an install process. Google calendar's scheduling assistant wasn't working in Safari which meant I had to take extra steps every time I needed to schedule something.

On the first conversation I had with the help desk, I was basically told "too bad, you'll just have to wait." I got a call back over 5 hours later and spent over 10 minutes on the phone with somebody and was late to a meeting because I had to explain who I am and how TTS macs are set up and the fact that I'm remote but not regularly VPNed in. I got no positive outcomes.

When I was able to get attention to this problem in slack, Ian Bell helped me completely remove Chrome from my computer and reinstall. This took less than 20 minutes. I lost all of my bookmarks and history and thankfully was able to import my bookmarks back into chrome from safari.

cmcintir commented 6 years ago

I'm reviewing this issue with the client engineering team. As an FYI, we have 349 Macs now managed by them and only have around 7 tickets. Since there are 21 of you on this thread, it's obviously a wider concern. Are you all in the same organization? I'm trying to find something that you all have in common that the other 328 don't have.

I know this is frustrating. The reason things are better on the Windows side is that we've had the governance in place for a long time. Configurations are tied down fairly tightly. I realize that's a pain for developers (I was one over 25 years ago), but DHS will soon get the scan results from our entire infrastructure, and they're the ones that set the security posture.

We'll get better, but only with your help. Please call the helpdesk and/or open tickets. That's the best way to show management the scale of the issue.

Thanks for your patience!

rdpiazza commented 6 years ago

I am also having sleep/wake failures. After my computer goes to sleep, I am usually unable to wake it unless I do a PRAM reset. I filed ticket INC2194852 to report and to request removal of Bit9.

harrisj commented 6 years ago

Sorry @konklone but I have some clarification. I am not entirely sure that Bit9 was ever uninstalled from my computer, just that I didn't see it in my toolbar at one point after my machine rebooted from a crash. This could be because it was booting up still or it could be because it is the leftmost icon on my toolbar's icons and thus most likely to be hidden if I am using an application with many menu bars. I do want to note that I had Bit9 installed on my computer several weeks before everybody else did (not sure why, but I was an early pilot for JAMF too), but the sleep/wake/reboot issue only started to happen for me last week. This suggests it could either be unrelated to the Bit9 application or the result of a policy change or such that was distributed to our computers last week.

I apologize for not filing a ticket earlier. I understand that it's the main way to share visibility for an issue, but I will say in my defense that filing a ticket feels often like having the flu and deciding if I just want to muddle through it at home or go to the doctor's office. I am already trying to get things done, so I just often work around it rather than adding the additional overhead of filing IT tickets and talking to the help desk.

onezerojeremy commented 6 years ago

I'm having the same sleep wake problems and have filed a ticket, so I guess I'm one of the 7?

It costs me valuable time every day – likely 15 minutes or more of what might've been billable time, as it takes time to remember and relaunch the applications and work I had in progress.

annahsgraves commented 6 years ago

I would just add that this issue is still totally unpredictable for me. Sometimes I have these sleep wake problems 4-5 times in 2 days, sometimes I have no issues for a week. There's no telling when the issue is going to occur.

I'd also add, in reference to https://github.com/GSA/laptop-management/issues/41#issuecomment-355886149, that I have not had any issues with Chrome since my troubleshooting session with @ifbell, so I think we may be able to consider that problem fully resolved.

stvnrlly commented 6 years ago

I also have this issue and have filed a ticket.

I know that it's not quite a hard timing pattern, but this seems to happen consistently between closing the laptop for the evening and opening it again in the morning. It doesn't seem to happen when the laptop sleeps at other times of the day (during my lunch break, for example).

I'll start keeping track of the time in the crash report to see if there's anything helpful there.

jacobian commented 6 years ago

I mostly agree with your summary @konklone, with a couple of caveats about my experience:

No affected TTS staff member has observed a hard timing pattern to these issues, and the issue is not consistently reproducible upon demand.

Until bit9 was removed from my machine, the crash was reliably reproducible by closing the lid to my laptop and waiting 10 minutes.

Bit9 has not been identified as a culprit beyond (strong but not complete) timing correlation.

For me, at least, the symptoms began immediately once bit9 was installed, and stopped the moment it was removed (and hasn't come back).

[That said I agree with your assessment that it's probably not as simple as "bit9 causes this" -- there's plenty of evidence from other folks that it's more complicated.]

konklone commented 6 years ago

Until bit9 was removed from my machine, the crash was reliably reproducible by closing the lid to my laptop and waiting 10 minutes.

That is great debugging information, thank you.

If anyone else who is currently experiencing these symptoms would be able to see if they can consistently reproduce it that way - it would be much appreciated. (I'm not currently experiencing these symptoms, though Bit9 has been uninstalled for me.)

For me, at least, the symptoms began immediately once bit9 was installed, and stopped the moment it was removed (and hasn't come back).

Also helpful, thank you. For clarity, when Bit9 was installed, a number of other things (it's unclear exactly what) were done at the same time. Hearing a case of "reliably reproducible until this specific tool was uninstalled and then it's reliably gone" is useful.

fureigh commented 6 years ago

@konklone +1 for being able to reliably reproduce this crash by closing the lid to my laptop and waiting a few minutes.

monfresh commented 6 years ago

@konklone I too can reliably reproduce by closing the lid. Every time I have done that and come back several minutes later, I had to restart the computer, and Chrome reports that it didn't shut down properly and asks me if I want to restore the tabs.

kategarklavs commented 6 years ago

I also experience the issue when I close the lid of my laptop and wait for a bit. As @onezerojeremy mentioned, getting everything re-situated takes quite a bit of time.

pburkholder commented 6 years ago

@konklone

@pburkholder Are you saying that despite the bit9 daemon remaining disabled, the power issues continue for you? Unfortunately, it sounds like your disabling of the bit9 daemon was a bit hacky (not an uninstall), so it's not a super clean state for your computer to be in. (Unfortunately, I have yet to find a staff member whose Bit9 uninstallation can be verified to have been complete and clean, even when GSA IT has initiated the uninstallation.)

I haven't touched bit9 since Dec 29. Since then I've had one unexplained shutdown, and that was overnight.

The only changes I've made are to add the Disabled: true key to /Library/LaunchAgents/com.bit9.Notifier.plist and /Library/LaunchDaemons/com.bit9.Daemon.plist. This has been sufficient to provide me a usable system. I'm able to close it and keep it closed for hours and have it working when I open it later. Since I did have one overnight shutdown, I keep my system connected to power overnight (but asleep and open) -- but this is getting into goat entrails and superstition.

I still have all the bit9 software installed and the kernel extensions in place.

pburkholder commented 6 years ago

I too can reliably reproduce by closing the lid. Every time I have done that and come back several minutes later, I had to restart the computer

I've twice found that updating /Library/LaunchDaemons/com.bit9.Daemon.plist to set Disabled:false is sufficient to cause the quoted issue to re-occur.

annahsgraves commented 6 years ago

Unfortunately, closing my lid like others does not reliably reproduce the problem for me. It's entirely sporadic.

konklone commented 6 years ago

Unfortunately, closing my lid like others does not reliably reproduce the problem for me. It's entirely sporadic.

@annahsebok But didn't you say that all symptoms had vanished for you? Or are you still experiencing sporadic issues?

cmcintir commented 6 years ago

So let me preface this with the fact that I haven't used a Mac for a long time. I have one coming so I can better feel your pain, but until then I've been surfing for answers. I noticed a LOT of posts on the Internet about sleep/wake features causing reboots - some reference Bit9, but others are more general. One user said he disabled automatic sleep and stopped experiencing the problem. I know that's not the best answer, but it may keep some of you from losing work. The security tools being added are mandated by DHS, so we'll have to find a way to work around the negative impacts.

Can someone try it and let me know what happens? Thanks in advance.

jameshupp commented 6 years ago

I'm not sure if this squares with what people are describing or is entirely separate:

I have no problem with putting my computer to sleep and waking it up as long as the display settings are identical at both times. But if I put it to sleep with a second display plugged in and wake it with no external display — or vice versa — the machine freezes and requires a forced restart. These are not Apple displays; they are my Asus at home and whatever the standard at 1 WTC is.

In addition to that, I experience spontaneous shutdowns while the machine is asleep, which I will file a ticket for now, but not in a way that seems distinct from anything anyone else has said here.

cmcintir commented 6 years ago

I found out that there are other tickets out there - roughly 23 of them.

Has anyone tried turning off auto sleep mode?

Christopher L. McIntire | GEO Operations Manager GEO Contract | SAIC Team | SAIC Supporting GSA IT Mobile: 571-389-2178 christopher.mcintire@gsa.gov

On Mon, Jan 8, 2018 at 10:40 AM, Jeremy Canfield notifications@github.com wrote:

I'm having the same sleep wake problems and have filed a ticket, so I guess I'm one of the 7?

It costs me valuable time every day – likely 15 minutes or more of what might've been billable time, as it takes time to remember and relaunch the applications and work I had in progress.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GSA/laptop-management/issues/41#issuecomment-356001450, or mute the thread https://github.com/notifications/unsubscribe-auth/AhmJetIrm4OLGzkcr4cdX5u823DeKJjsks5tIjbQgaJpZM4Q8JT8 .

afeld commented 6 years ago

Also still getting automatic shutdowns.

When I'm in a controlled environment (that I'm not nervous about someone stealing my computer), I've been using Caffeine to keep the computer from going to sleep to sidestep the issue.

cmcintir commented 6 years ago

@afeld, Can you not lock the screen as opposed to putting it to sleep?

@jameshupp, pretty much every described their issue as a 'wake from sleep' event. Some may be moving it from one environment to another, but I believe (and need to be reaffirmed) that many are just sitting on the same desk with the same monitors. When the screen is closed (overnight or lunch) they auto-sleep, and that's when the rebooting happens - or when they try to wake them back up.

Can people confirm or deny my assumption?

Thanks,

yozlet commented 6 years ago

I've also been suffering random shutdowns/reboots. They only happen when the lid is closed, but it takes more than a few minutes; there are plenty of times when the lid's been closed for a few hours, and opening it again wakes it back to its closed state just fine. Occasionally I will suddenly hear a reboot chime from the closed computer.

konklone commented 6 years ago

Occasionally I will suddenly hear a reboot chime from the closed computer.

I've witnessed this happening in person on @vzvenyach's computer during a meeting. The reboot chime sounded multiple times in a row, without user interaction, while the lid was closed.

annahsgraves commented 6 years ago

@annahsebok But didn't you say that all symptoms had vanished for you? Or are you still experiencing sporadic issues?

@konklone Google Chrome symptoms have vanished for me. Sleep wake symptoms come and go (for example, I hadn't experienced this for over a week up until early last week when it happen 6 times in two days, and I haven't experienced it since last Tuesday). They are also not reproducible as far as I can tell or predictable based on any behavior pattern of mine.

dawnpm commented 6 years ago

I have nighttime shutdowns most nights, but not all. I can leave my laptop lid closed for more than 10 minutes during the day, though, and it says On.

cmcintir commented 6 years ago

All, We've made some changes to the helpdesk to improve Mac support. It may take a short while to propagate, but I hope you try them next time you have an issue and that you see a difference.

You have all been moved to a special group that lets you uninstall Bit9. You can do it yourself, but if you don't, they will push a script that will do it for you. That process may be somewhat disruptive (probably involves a reboot), but it should keep you from experiencing the reboot on wake. They should be sending out a communication, but please feel free to reach out to me with questions.

Thanks again for your patience.

jseppi commented 6 years ago

The sleep-shutdown-panic happened to me multiple times in the past, and I filed an IT ticket about it. I don't know what the status of that ticket is. The problem had not happened for a week or two, so I forgot about it. Unfortunately it just happened again. I also noticed my battery charge is much lower than when I initially closed my lid to sleep my laptop last night (more than usual during a night's sleep).

wslack commented 6 years ago

@jseppi did the bit9 uninstall already go through for you?

MKathrynC commented 6 years ago

@wslack how do you uninstall bit9? this is a problem for me again, like @jseppi it went away and I forgot about it until this week it started happening again.

jseppi commented 6 years ago

@wslack: no, and I've been trying to use the uninstall script I found at /Applications/Bit9/uninstall.sh, but it fails when I attempt to run it.

$ sudo ./uninstall.sh 
Sending uninstall event

Stopping Bit9 Daemon...
/Library/LaunchDaemons/com.bit9.Daemon.plist: Could not find specified service

   Daemon stopped.

Stopping Bit9 Notifier...
task_for_pid(): 0x5

   Notifier stopped.
Daemon did not shutdown properly. Uninstall will not proceed
wslack commented 6 years ago

They should have done an automatic uninstall; see https://gsa-tts.slack.com/archives/C025AQGBC/p1515511582000543

I would send an e-mail to the IT Service Desk explaining that you still have Bit9. Will also post in the JAMF slack channel.

erik-burgess commented 6 years ago

The automatic uninstall is not happening until next week (1/23). If you can log into the Self Service app, there is an uninstall option within.

wslack commented 6 years ago

Oh that's odd - it happened to me last week, I thought. I guess the triggered it for me specifically.

jseppi commented 6 years ago

I cannot login to Self Service. It just clears my password when I attempt to login and offers no error or other advice. I give up and will wait until this happens for me.

erik-burgess commented 6 years ago

Must have been. We're still working the comms for the mass uninstall and we just approved the date. I'm guessing if you a put a ticket in, you may have been added to an early uninstall group @wslack.

erik-burgess commented 6 years ago

@jseppi I have the same issue with Self Service. Please report it so they can add you the master ticket.