Crash from shell script?

BTT crashes regularly (several times an hour). I don't know why, and the log isn't obvious, but I do find some shell script contains error and crashes BTT in there. Which is a bit strange - no matter how hard a shell script crashes, it should just return -1 and not crash BTT?

2025/08/29 10:04:19:244|SYS|Running on macOS: 15.6.0|
2025/08/29 10:04:19:245|SYS|BTT Version: 5.569|
2025/08/29 10:04:19:245|SYS|Device: Mac14,10|

Here are logs from one of them whlch should cover both before and after the crash:

2025/08/29 10:02:48:772|SHORTCUT|SHORTCUT FETCH DISABLE 1|
2025/08/29 10:02:48:966|ASL|=== App transition detected: com.hegenberg.BetterTouchTool -> com.microsoft.Excel ===|
2025/08/29 10:02:48:967|ASL|Current menus before transition:|
2025/08/29 10:02:49:200|ASL|app: com.microsoft.Excel|
2025/08/29 10:02:49:530|SHORTCUT|SHORTCUT FETCH DISABLE 1|
2025/08/29 10:02:49:929|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:02:49:990|SHORTCUT|SHORTCUT FETCH DISABLE 2|
2025/08/29 10:02:49:998|ASL|finished merging floating menus in 0.005648s|
2025/08/29 10:02:49:998|ASL|start reload 778179769.997914|
2025/08/29 10:02:50:000|SHORTCUT|SHORTCUT FETCH DISABLE 2|
2025/08/29 10:02:50:033|ASL|performing 424|
2025/08/29 10:02:50:033|ASL|triggering action Cancel Repeat / Cancel For Loop - 75CF672A-71DE-41B2-9EC3-646A12DE15BD|
2025/08/29 10:02:50:054|c00|11|
2025/08/29 10:03:01:745|xw|shell script contains error and crashes BTT|
2025/08/29 10:03:01:799|xw|interrupt reply|
2025/08/29 10:03:04:853|ASL|performing 188|
2025/08/29 10:03:04:853|ASL|triggering action Toggle BetterTouchTool Touch Bar - 40DD1D9E-7416-49D8-BCBB-6C847BE9E13C|
2025/08/29 10:03:07:349|ASL|performing 188|
2025/08/29 10:03:07:349|ASL|triggering action Toggle BetterTouchTool Touch Bar - 40DD1D9E-7416-49D8-BCBB-6C847BE9E13C|
2025/08/29 10:03:52:843|ASL|performing 424|
2025/08/29 10:03:52:843|ASL|triggering action Cancel Repeat / Cancel For Loop - 75CF672A-71DE-41B2-9EC3-646A12DE15BD|
2025/08/29 10:03:55:971|ASL|performing 424|
2025/08/29 10:03:55:971|ASL|triggering action Cancel Repeat / Cancel For Loop - 75CF672A-71DE-41B2-9EC3-646A12DE15BD|
2025/08/29 10:04:10:743|ASL|key 9 modifier keys 1966080|
2025/08/29 10:04:10:821|ASL|key 9 modifier keys 1966080|
2025/08/29 10:04:19:244|SYS|Running on macOS: 15.6.0|
2025/08/29 10:04:19:245|SYS|BTT Version: 5.569|
2025/08/29 10:04:19:245|SYS|Device: Mac14,10|
2025/08/29 10:04:19:318|usage|loading todays usage|
2025/08/29 10:04:19:319|ASL|0 elapsed 0.115692|
2025/08/29 10:04:19:319|LAUNCH|DIDLaunch START NSConcreteNotification 0x6000015e39c0 {name = NSApplicationDidFinishLaunchingNotification; object = <BTTApplication: 0x10ae053c0>; userInfo = {
    NSApplicationLaunchIsDefaultLaunchKey = 1;
}}|
2025/08/29 10:04:19:339|ASL|1 elapsed 0.136539|
2025/08/29 10:04:19:339|ASL|2 elapsed 0.136572|
2025/08/29 10:04:19:340|ASL|3 elapsed 0.136705|
2025/08/29 10:04:19:340|ASL|4 elapsed 0.136817|
2025/08/29 10:04:19:343|ASL|5 elapsed 0.140114|
2025/08/29 10:04:19:343|ASL|6 elapsed 0.140178|
2025/08/29 10:04:19:343|INIT|START PREVIOUSLYININIT|
2025/08/29 10:04:19:343|ASL|sub 0 elapsed 0.000000 - prev|
2025/08/29 10:04:19:376|ASL|sub 1 elapsed 0.032687 - prev|
2025/08/29 10:04:19:376|ASL|sub 2 elapsed 0.033173 - prev|
2025/08/29 10:04:19:377|ASL|sub 3 elapsed 0.033447 - prev|
2025/08/29 10:04:19:441|ASL|sub 4 elapsed 0.097705 - prevk|
2025/08/29 10:04:19:441|short|init|
2025/08/29 10:04:20:271|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/08/29 10:04:20:271|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:20:272|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:20:383|STORE|The store already exists in udefs|
2025/08/29 10:04:20:383|xw|the new store already exists btt_data_store.version_5_569_build_2025082804|
2025/08/29 10:04:20:518|migrate|fixing uuids2|
2025/08/29 10:04:20:638|ASL|save|
2025/08/29 10:04:20:646|LIC|idate 2023-12-12 19:34:36 +0000|
2025/08/29 10:04:20:651|ASL|sub 5 elapsed 1.307473 - prevke|
2025/08/29 10:04:20:651|INIT|FINISH PREVIOUSLYININIT|
2025/08/29 10:04:20:651|ASL|7 elapsed 1.447711|
2025/08/29 10:04:20:651|LIC|closing previous instance of BetterTouchTool relaunch|
2025/08/29 10:04:20:652|LIC|closing previous instance of btt now playing|
2025/08/29 10:04:20:652|ASL|8 elapsed 1.449517|
2025/08/29 10:04:20:660|ASL|9 elapsed 1.457263|
2025/08/29 10:04:20:660|ASL|10 elapsed 1.457449|
2025/08/29 10:04:20:663|ASL|save|
2025/08/29 10:04:20:664|ASL|11 elapsed 1.460976|
2025/08/29 10:04:20:666|LIC|license appears to be valid|
2025/08/29 10:04:20:666|LIC|license dictionary {
    CheckoutName = "Patrik Bodin";
    Email = "the@pal.pp.se";
    LicenseType = "paddle_lifetime";
    Licenses = 1;
    Name = "Patrik Bodin";
    OrderID = <censored>;
    Product = BetterTouchTool;
    Signature = {length = 128, bytes = <censored> };
    Timestamp = <censored>;
    TransactionID = "<censored>";
}|
2025/08/29 10:04:20:666|LIC|systemdate 2018-04-18 23:31:59 +0000|
2025/08/29 10:04:20:666|LIC|using date 1524094319|
2025/08/29 10:04:20:666|lic|newest date 2018-04-18 23:31:59 +0000|
2025/08/29 10:04:20:666|lic|lict <censored>|
2025/08/29 10:04:20:669|lic|newest date 2018-04-18 23:31:59 +0000|
2025/08/29 10:04:20:669|lic|lict <censored>|
2025/08/29 10:04:20:669|LIC|License is valid for this version|
2025/08/29 10:04:20:670|ASL|12 elapsed 1.466581|
2025/08/29 10:04:20:670|ASL|disablign app nap|
2025/08/29 10:04:20:670|ASL|disabling app nap done|
2025/08/29 10:04:20:670|ASL|13 elapsed 1.466621|
2025/08/29 10:04:20:670|ASL|14 elapsed 1.466633|
2025/08/29 10:04:20:670|ASL|15 elapsed 1.466692|
2025/08/29 10:04:20:687|ASL|16 elapsed 1.484346|
2025/08/29 10:04:20:687|ASL|17 elapsed 1.484379|
2025/08/29 10:04:20:691|lic|newest date 2018-04-18 23:31:59 +0000|
2025/08/29 10:04:20:691|lic|lict <censored>|
2025/08/29 10:04:20:691|ASL|18 elapsed 1.487909|
2025/08/29 10:04:20:691|ASL|19 elapsed 1.487929|
2025/08/29 10:04:20:691|ASL|20 elapsed 1.488181|
2025/08/29 10:04:20:691|ASL|21 elapsed 1.488207|
2025/08/29 10:04:20:691|ASL|22 elapsed 1.488216|
2025/08/29 10:04:20:692|ASL|23 elapsed 1.488752|
2025/08/29 10:04:20:692|ASL|24 elapsed 1.488768|
2025/08/29 10:04:20:692|ASL|25 elapsed 1.488800|
2025/08/29 10:04:20:692|ASL|26 elapsed 1.488883|
2025/08/29 10:04:20:724|ASL|27 elapsed 1.521405|
2025/08/29 10:04:20:729|lic|newest date 2018-04-18 23:31:59 +0000|
2025/08/29 10:04:20:729|lic|lict <censored>|
2025/08/29 10:04:20:732|xw|is trusted|
2025/08/29 10:04:20:771|short|call sharedInstance4|
2025/08/29 10:04:20:888|ASL|The Mac is connected to AC power.|
2025/08/29 10:04:20:911|TB|touchbar screen size {1085, 30}|
2025/08/29 10:04:20:912|ASL|28 elapsed 1.709538|
2025/08/29 10:04:20:912|ASL|29 elapsed 1.709569|
2025/08/29 10:04:20:913|ASL|30 elapsed 1.709580|
2025/08/29 10:04:20:913|ASL|31 elapsed 1.709593|
2025/08/29 10:04:20:915|ASL|32 elapsed 1.711623|
2025/08/29 10:04:20:920|ASL|33 elapsed 1.717267|
2025/08/29 10:04:20:921|ASL|34 elapsed 1.717930|
2025/08/29 10:04:20:921|START|TB VISIBLE 0|
2025/08/29 10:04:20:921|START|TB FORCED HIDDEN 1|
2025/08/29 10:04:20:921|ASL|35 elapsed 1.717958|
2025/08/29 10:04:20:927|ASL|36 elapsed 1.724091|
2025/08/29 10:04:20:927|ASL|37 elapsed 1.724375|
2025/08/29 10:04:20:927|ASL|38 elapsed 1.724399|
2025/08/29 10:04:20:927|LAUNCH|DIDLaunch END frontmostApp: com.microsoft.Excel, touchpadMode 0, windowSnappingDisabled 0, singleFingerScrollingDisabled 0, mmScrollingUsed 0, tpScrollingUsed 0, tpPinchUsed 0, tpRotateUsed 0|
2025/08/29 10:04:20:927|ASL|39 elapsed 1.724452|
2025/08/29 10:04:20:927|ASL|40 elapsed 1.724468|
2025/08/29 10:04:20:971|ASL|keyboard added?|
2025/08/29 10:04:21:723|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/08/29 10:04:21:723|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:21:723|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:21:723|ASL|keyboard added?|
2025/08/29 10:04:22:484|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/08/29 10:04:22:485|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:22:485|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:22:485|ASL|keyboard added?|
2025/08/29 10:04:23:242|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/08/29 10:04:23:242|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:23:243|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:23:243|ASL|keyboard added?|
2025/08/29 10:04:23:998|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/08/29 10:04:23:999|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:23:999|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:23:999|ASL|keyboard added?|
2025/08/29 10:04:24:752|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/08/29 10:04:24:753|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:24:753|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:24:753|ASL|keyboard added?|
2025/08/29 10:04:25:513|KEY|initialized for keyboard Apple Internal Keyboard / Trackpad|
2025/08/29 10:04:25:514|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:25:514|KEY|initialized for keyboard Flexbar|
2025/08/29 10:04:25:515|ASL|Hyper key used 0|
2025/08/29 10:04:25:779|ASL|reset and reload?|
2025/08/29 10:04:25:779|ASL|reevaluate|
2025/08/29 10:04:25:779|M|mt_stop10|
2025/08/29 10:04:25:929|PERM|Can record screen 1|
2025/08/29 10:04:26:007|TB|Force show Touch Bar|
2025/08/29 10:04:26:342|ASL|save|
2025/08/29 10:04:26:342|ASL|saving|
2025/08/29 10:04:26:402|ASL|save|
2025/08/29 10:04:26:541|ASL|app: com.microsoft.Excel|
2025/08/29 10:04:26:545|M|mt_stop2|
2025/08/29 10:04:26:546|TB|PresentationMode appWithControlStrip (null)|
2025/08/29 10:04:26:565|ASL|app: com.microsoft.Excel|
2025/08/29 10:04:26:616|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:26:648|ASL|📮 BTTFloatingMenuCenter: Posted reload notification for embedded menus|
2025/08/29 10:04:26:649|BTT|mt device 0x070000000000002D,0x6f - 111 - internal 1 - force 1|
2025/08/29 10:04:26:649|M|register touchbar mbp trackpad|
2025/08/29 10:04:26:649|STDEV|6f|
2025/08/29 10:04:26:723|short|eventtap success|
2025/08/29 10:04:26:740|SLEEP|FORCESHOWAFTERSLEEP3B|
2025/08/29 10:04:26:740|TB|Force show Touch Bar|
2025/08/29 10:04:26:992|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:26:992|ClipMigration|Target database already exists. Using existing database.|
2025/08/29 10:04:26:996|ClipMigration|Successfully initialized clipboard database at: BTTClipboardManager_20241210.20251507sqlite|
2025/08/29 10:04:26:996|Clip|clipboard database has been initialized|
2025/08/29 10:04:26:998|M|unregister tb trackpad|
2025/08/29 10:04:27:001|BTT|mt device 0x070000000000002D,0x6f - 111 - internal 1 - force 1|
2025/08/29 10:04:27:001|M|register touchbar mbp trackpad|
2025/08/29 10:04:27:001|STDEV|6f|
2025/08/29 10:04:27:062|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:27:325|M|mt_stop2|
2025/08/29 10:04:27:524|ASL|Deleted 6 old/excess clips|
2025/08/29 10:04:27:590|ASL|app: com.microsoft.Excel|
2025/08/29 10:04:27:658|ASL|finished merging floating menus in 0.003774s|
2025/08/29 10:04:27:658|ASL|start reload 778179867.657599|
2025/08/29 10:04:27:663|SNAPAREA|step1, 0 displays- match mode 0 - searching Built-in Display|
2025/08/29 10:04:27:664|SNAPAREA|return existing (updated)|
2025/08/29 10:04:27:664|SNAPAREA|step1, 0 displays- match mode 0 - searching Virtual - Odyssey G91SD|
2025/08/29 10:04:27:665|SNAPAREA|return existing (updated)|
2025/08/29 10:04:27:665|SNAPAREA|step1, 0 displays- match mode 0 - searching Sidecar Display (AirPlay)|
2025/08/29 10:04:27:665|M|unregister tb trackpad|
2025/08/29 10:04:27:665|SNAPAREA|return existing (updated)|
2025/08/29 10:04:27:665|SNAP|Did recognize 41041 4251086178 dragpoints: 0 - 50|
2025/08/29 10:04:27:665|SNAP|Did recognize 14412 114267986 dragpoints: 0 - 105|
2025/08/29 10:04:27:665|SNAP|Did recognize 1766875492 524071736 dragpoints: 0 - 9|
2025/08/29 10:04:27:666|BTT|mt device 0x070000000000002D,0x6f - 111 - internal 1 - force 1|
2025/08/29 10:04:27:666|M|register touchbar mbp trackpad|
2025/08/29 10:04:27:666|STDEV|6f|
2025/08/29 10:04:27:686|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:27:688|ASL|performing 424|
2025/08/29 10:04:27:688|ASL|triggering action Cancel Repeat / Cancel For Loop - 75CF672A-71DE-41B2-9EC3-646A12DE15BD|
2025/08/29 10:04:27:695|ASL|finished merging floating menus in 0.000238s|
2025/08/29 10:04:27:695|ASL|start reload 778179867.694622|
2025/08/29 10:04:32:746|ASL|trigger delayed|
2025/08/29 10:04:32:746|ASL|performing 195|
2025/08/29 10:04:32:746|ASL|triggering action Run Apple Script (async in background) - 85CFE41C-3743-4660-9500-67AF4E4BEF71|
2025/08/29 10:04:32:747|ASL|not triggering reply again|
2025/08/29 10:04:36:952|LIC|ADD REGISTER MENU ITEM|
2025/08/29 10:04:37:013|xw|adapting icon state global 0 perApp 0 clip 0|
2025/08/29 10:04:41:148|PREFS|showing prefs <NSMenuItem: 0x600003eb7720 Configuration>|
2025/08/29 10:04:41:200|ASL|prepare <NSStoryboardSegue:0x600001a2d980 identifier='(null)', source='<BTTMainUIStructureVC: 0x600002ebfa80>', destination='<BTTAppListVC: 0x600002992500>'>|
2025/08/29 10:04:41:205|ASL|Warning: Column selection is not supported in view-based table and outline views (<BTTPreferencesTableView: 0x10cc1a600>).|
2025/08/29 10:04:41:205|ASL|view did load BTTAppListVC|
2025/08/29 10:04:41:214|ASL|previously selected 0|
2025/08/29 10:04:41:214|ASL|previously selected 0|
2025/08/29 10:04:41:227|ASL|prepare <NSStoryboardSegue:0x600001af6b50 identifier='EmbedTopMenuVC', source='<BTTMainUIStructureVC: 0x600002ebfa80>', destination='<BTTTopMenuVC: 0x10c3f0070>'>|
2025/08/29 10:04:41:249|ASL|view did load BTTTopMenuVC|
2025/08/29 10:04:41:393|ASL|window did load BTTRootPreferencesWC|
2025/08/29 10:04:41:393|ASL|did set <BTTPrefsMenuContentContainerVC: 0x60000249b200> BTTPrefsMenuContentContainerVC|
2025/08/29 10:04:41:393|ASL|did set <BTTMainUIStructureVC: 0x600002ebfa80> BTTMainUIStructureVC|
2025/08/29 10:04:41:393|ASL|did set <BTTConfigurationVC: 0x10c0b61d0> BTTConfigurationVC|
2025/08/29 10:04:41:393|ASL|did set <BTTMainSplitViewController: 0x600002eb3e90> BTTMainSplitViewController|
2025/08/29 10:04:41:393|ASL|did set <BTTLevel1VC: 0x6000029a6800> BTTLevel1VC|
2025/08/29 10:04:41:393|ASL|did set <BTTLevel3VC: 0x10c06ecb0> BTTLevel3VC|
2025/08/29 10:04:41:393|ASL|did set <BTTOutlineModeVC: 0x600002aa72a0> BTTOutlineModeVC|
2025/08/29 10:04:41:393|ASL|did set <BTTConfigurationVC: 0x1292b8000> BTTConfigurationVC|
2025/08/29 10:04:41:393|ASL|did set <BTTTopMenuVC: 0x10c3f0070> BTTTopMenuVC|
2025/08/29 10:04:41:419|LIC|ADD REGISTER MENU ITEM|
2025/08/29 10:04:41:466|ASL|add tab bar <NSTitlebarAccessoryViewController: 0x600002eec340>|
2025/08/29 10:04:41:468|ASL|view <NSTabBar: 0x10ae5cb00> - {{0, 0}, {918, 28}}|
2025/08/29 10:04:41:756|ASL|=== App transition detected: com.microsoft.Excel -> com.hegenberg.BetterTouchTool ===|
2025/08/29 10:04:41:756|ASL|Current menus before transition:|
2025/08/29 10:04:41:820|ASL|app: com.hegenberg.BetterTouchTool|
2025/08/29 10:04:41:884|LIC|ADD REGISTER MENU ITEM|
2025/08/29 10:04:42:050|script|init script handler|
2025/08/29 10:04:42:123|ASL|app: com.hegenberg.BetterTouchTool|
2025/08/29 10:04:42:174|ASL|did load level 3|
2025/08/29 10:04:42:262|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:42:268|ASL|save|
2025/08/29 10:04:42:268|ASL|saving|
2025/08/29 10:04:42:269|SHORTCUT|SHORTCUT FETCH DISABLE 1|
2025/08/29 10:04:42:319|ASL|=== App transition detected: com.hegenberg.BetterTouchTool -> com.microsoft.Excel ===|
2025/08/29 10:04:42:319|ASL|Current menus before transition:|
2025/08/29 10:04:42:385|ASL|app: com.microsoft.Excel|
2025/08/29 10:04:42:584|SHORTCUT|SHORTCUT FETCH DISABLE 1|
2025/08/29 10:04:42:633|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:42:990|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:43:096|ASL|=== App transition detected: com.microsoft.Excel -> com.hegenberg.BetterTouchTool ===|
2025/08/29 10:04:43:096|ASL|Current menus before transition:|
2025/08/29 10:04:43:163|ASL|app: com.hegenberg.BetterTouchTool|
2025/08/29 10:04:43:185|LIC|ADD REGISTER MENU ITEM|
2025/08/29 10:04:43:275|FORM|4 UUID 9D54484F-4456-4E7A-9883-D749599F8829 == (null) editing 0 == 0|
2025/08/29 10:04:43:290|FORM|4 UUID 9D54484F-4456-4E7A-9883-D749599F8829 == 9D54484F-4456-4E7A-9883-D749599F8829 editing 0 == 0|
2025/08/29 10:04:43:463|ASL|performing 424|
2025/08/29 10:04:43:463|ASL|triggering action Cancel Repeat / Cancel For Loop - 75CF672A-71DE-41B2-9EC3-646A12DE15BD|
2025/08/29 10:04:43:466|ASL|finished merging floating menus in 0.002671s|
2025/08/29 10:04:43:466|ASL|start reload 778179883.466037|
2025/08/29 10:04:43:515|ASL|📮 BTTFloatingMenuCenter: Posted app changed notification for embedded menus|
2025/08/29 10:04:43:553|ASL|performing 424|
2025/08/29 10:04:43:553|ASL|triggering action Cancel Repeat / Cancel For Loop - 75CF672A-71DE-41B2-9EC3-646A12DE15BD|
2025/08/29 10:04:43:553|ASL|performing 424|
2025/08/29 10:04:43:553|ASL|triggering action Cancel Repeat / Cancel For Loop - 75CF672A-71DE-41B2-9EC3-646A12DE15BD|
2025/08/29 10:04:43:554|ASL|finished merging floating menus in 0.000199s|
2025/08/29 10:04:43:554|ASL|start reload 778179883.553648|
2025/08/29 10:04:43:667|nowplaying|init|
2025/08/29 10:04:43:667|nowplaying|sequoia init|
2025/08/29 10:04:43:702|ASL|did rebuild form|
2025/08/29 10:04:43:869|FORM|4 UUID 9D54484F-4456-4E7A-9883-D749599F8829 == 9D54484F-4456-4E7A-9883-D749599F8829 editing 0 == 0|
2025/08/29 10:04:44:023|ASL|did rebuild form|
2025/08/29 10:04:44:023|NEWUI|Loading Config Debounced|
2025/08/29 10:04:44:023|FORM|1UUID 9D54484F-4456-4E7A-9883-D749599F8829 == 9D54484F-4456-4E7A-9883-D749599F8829 editing 0 == 0|
2025/08/29 10:04:44:171|ASL|did rebuild form|

that error log is indeed misleading, the shell script won‘t really crash BTT. Worst case the shell script runner process would exit unexpectedly, but that would just automatically restart.

Can you post a crashlog from the macOS console app‘s crash report section? (or send to andreas@folivora.ai)

And of course it hasn't crasched since you posted that message... six hours ago....

Which means it's related to something I do (since I've been afk for those six hours).

I'll be back.

Now it crashed.

Nothing in Console - Crash Reports.
Nothing in ~/Library/Logs/DiagnosticReports
Nothing in /System/Library/Logs/DiagnosticReports

I also ran log show --predicate 'process == "BetterTouchTool"' --last 1h - I'll send you a link in email.