KM Engine Crash Report
Running Keyboard Maestro 7.3.1 (7.3.1) on macOS 10.11.6
It is a very rare event for the KM Engine (or KM app) to crash. In fact, I don't even remember the last time it happened. So when it happened when I was not doing anything special, I was concerned.
Steps to Reproduce Activity Just Before Crash
- Put Mac to sleep (using KM Macro)
- Hours later, wake Mac
- The Macro "ON WAKE Actions..." is triggered, as it always is
- I use this Macro every day on multiple Macs
- I have never had any problems with it
- Macro is attached below
- Macro normally completes
- A few minutes later, I noticed that another high-frequency trigger macro is NOT firing:
@MOU Move Mouse to FrontMost Window When Window Changes
- It is triggered whenever the focused window or focused window frame changes
- So I manually started the KM Engine from the KM App
Questions from Log
In addition to the KM Engine crash, I did notice two events that I have questions about:
- Can KM Macros be triggered when the Mac is in Sleep mode?
- This seems to have happened at 2017-04-02 23:50:55
- What are the errors with reference to
file: /Users/peter/. . .
?
- There is no
peter
account on my Mac.
KM Engine Log (with my annotations)
## # TRIGGER MACRO TO PUT MAC TO SLEEP ###
2017-04-02 21:12:28 Execute macro ‘[SLEEP] Close Apps, Unmount Drives, & Sleep’ from trigger Do Script
2017-04-02 21:12:30 Execute macro ‘@Finder Get @DropBox @Conflicted Files When Added’ from trigger Anything is added to folder ‘/Users/Shared/Dropbox/AppSync/KM/KM7’ (ignoring partial files)
2017-04-02 21:12:37 Execute macro ‘@Finder Get @DropBox @Conflicted Files When Added’ from trigger Anything is added to folder ‘/Users/Shared/Dropbox/AppSync/KM/KM7’ (ignoring partial files)
2017-04-02 21:13:18 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger Application ‘Finder’ activates
2017-04-02 21:13:18 Assertion Failed: replace, file: /Users/peter/Keyboard Maestro/Project/Source/Utility/TokenText.mm:286, value: 0
2017-04-02 21:13:18 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowChanges
2017-04-02 21:13:19 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowChanges
## # MAC SHOULD BE ASLEEP AT THIS POINT ###
# How could these macros be triggered when Mac is asleep?
2017-04-02 23:50:55 Execute macro ‘@Finder Get @DropBox @Conflicted Files When Added’ from trigger Anything is added to folder ‘/Users/Shared/Dropbox/AppSync/KM/KM7’ (ignoring partial files)
2017-04-02 23:59:59 Execute macro ‘[OL] Manage Outlook 2011 Work Online Time & Battery Usage’ from trigger Every 15 minutes between 8:00-3:00 every day
2017-04-03 01:34:39 Execute macro ‘@Finder Get @DropBox @Conflicted Files When Added’ from trigger Anything is added to folder ‘/Users/Shared/Dropbox/AppSync/KM/KM7’ (ignoring partial files)
## # MAC WOKE FROM SLEEP, AND MACRO IS TRIGGERED ###
2017-04-03 13:47:38 Execute macro ‘ON WAKE Actions to Execute on System @Login & @Wake’ from trigger At System Wake
## # WHAT IS THIS ERROR THAT REFERS TO PETER'S HOME FOLDER??? ###
2017-04-03 13:47:45 Assertion Failed: theErr == 0 , file: /Users/peter/Keyboard Maestro/Project/Source/Utility/KBMRunningApplication.mm:34, value: -600
2017-04-03 13:47:45 Assertion Failed: SendProcessCoreEventAE( i_pid, kAEQuitApplication ) == 0 , file: /Users/peter/Keyboard Maestro/Project/Source/Utility/KBMRunningApplication.mm:329, value: -600
2017-04-03 13:48:10 Running application query took a while (73895 us)
2017-04-03 13:48:10 Running application query took a while (5524 us)
2017-04-03 13:48:12 Running application query took a while (61756 us)
2017-04-03 13:48:17 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowChanges
2017-04-03 13:48:27 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowsFrameChanged
2017-04-03 13:48:28 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowsFrameChanged
2017-04-03 13:48:28 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowChanges
2017-04-03 13:48:33 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowChanges
## # KM ENGINE AUTO-STOPPED OR CRASHED AT THIS POINT ###
## # WHY?
2017-04-03 14:06:23 Engine Starting 7.3.1
2017-04-03 14:06:23 Old engine details remains a running process Running Engine Details/313
2017-04-03 14:06:23 Start Watching HID Devices
2017-04-03 14:06:24 Execute macro ‘@MOU Move Mouse to FrontMost Window When Window Changes’ from trigger tFocusedWindowFocusedWindowChanges
2017-04-03 14:06:24 Starting web server on ports 4490 and 4491
My On Wake Macro
Uploaded in DISABLED state.
ON WAKE Actions to Execute on System @Login & @Wake.kmmacros (42 KB)