Macro worked fine for 2+ years, now it causes Keyboard Maestro Engine to freeze

I have been using this Macro for over 2 years, and it works perfectly. Since yesterday, however, when I use it, it causes the Keyboard Maestro engine to freeze, and only restarting the Mac will fix things. But if I run the Macro again, the engine freezes.

What the Macro does:

  1. Takes the current browser URL
  2. Opens two new tabs, which allows the URL to be saved at the websites archive.is and archive.org

My environment:

Mac OS 12.76 (for intel Macbook Pro)
Keyboard Maestro: 11.0.4

I use it with the following browsers:
Edge: 141.0.3537.92
Safrai: Version 17.6 (17618.3.11.11.7, 17618)

Any ideas? Thanks!

Save web pages to Archive.kmmacros (3.7 KB)

If you upload the macro, rather than a screenshot of the macro, I'll test it. (I can't test it with your hardware or your OS.)

It might help a lot if you turned on the KM Engine Debugger (turning on the flag: Pause New Macros) before triggering this macro and then go through this macro step by step to see at which action in this macro the Engine stops working.

You may not need to restart the Mac, because you can use the Activity Monitor app to terminate the Engine (using Force Quit) without having to restart the Mac. I do this from time to time (monthly) when needed. It works.

1 Like

If we are seeing the full macro there, I see no reason why the Engine should freeze, and if your system seems alright otherwise, it might be a good idea to raise a support query.

I suggest that on the basis of the post by @peternlewis here: Keeps crashing! running 26.01 on studio - #12 by peternlewis

1 Like

Any time Keyboard Maestro or Keyboard Maestro Engine freezes (which is thankfully very rare), use the Activity Monitor, select the frozen process, and the choose View ➤ Sample Process and send it to support.

The two most common causes of freezes are:

  • The Login Items list contains a broken entry and locks up when the editor tries to check whether the Keyboard Maestro Engine is listed in the Login Items.
  • An action refers to a file/application that is on an unmounted remote disk or otherwise not available in a way that locks up the system API.
2 Likes

I have emailed the sample to support.

1 Like