Crash (EXC_BREAKPOINT) when opening the Floating Menu live editor — 6.944 6.946 / macOS 27.0.1
Describe the bug
BetterTouchTool crashes deterministically when the Floating Menu live editor is displayed.
Reproduced on 6.944 (build 2026101702) and on the current alpha 6.946 (build 2026101705) — same signature in both.
Steps to reproduce:
- Launch BTT
- Open Settings → "Custom Floating Menus / Widgets & BTT Mobile"
- Do nothing else
BTT dies 30–45 seconds later with no further interaction. No custom configuration is involved: the menus involved are the default example menus shipped with BTT (btt-mobile-example-menu, example-menu2, example-menu3). A freshly launched BTT on an untouched configuration reproduces it every time.
It is EXC_BREAKPOINT / SIGTRAP, and the process is terminated by AppKit's +[NSApplication _crashOnException:], not by a fault in BTT code. The exception originates in AppKit:
-[NSWindow(NSDisplayCycle) _postWindowNeedsUpdateConstraints] <- throws
-[NSView _informContainerThatSubviewsNeedUpdateConstraints] x19
-[NSView setNeedsUpdateConstraints:]
-[NSView updateConstraints] <- calls back up
During the display cycle, the constraint update reaches a view whose updateConstraints() calls setNeedsUpdateConstraints again, walking back up the same window. AppKit raises the exception, nothing catches it, and +[NSApplication _crashOnException:] traps. The affected view tree is ~19 levels deep.
Affected input device
Not input-device specific. It reproduces with no device interaction at all — just opening the settings section. Tested on MacBook Pro built-in trackpad + MX Master 3S.
Screenshots
(attach screenshot of the Floating Menu live editor)
Device information
| Type of Mac | MacBook Pro 16-inch (Mac16,8) |
| macOS version | 27.0.1 (26A434) |
| BetterTouchTool version | 6.944 (build 2026101702) |
Additional information
Signature — 9 crashes, all with the same PC and exception origin
EXC_BREAKPOINT (SIGTRAP), Termination Reason: Trace/BPT trap: 5
Frame 0: +[NSApplication _crashOnException:] + 268
7 of them have byte-identical 61-frame backtraces; 2 variants differ only in the recursion depth of _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines: (68 and 70 frames). The throwing frame is the same in all 9.
Timestamps (2026-10-18):
00:05:11 00:06:50 00:08:25 00:12:20 00:20:07
00:30:51 00:33:26 00:35:50 00:46:17
Not the menu JavaScript
I set BTTMenuScriptUpdateInterval, BTTMenuScriptAlwaysRunOnAppear and BTTMenuScriptAlwaysRunOnFirstLoad to 0 on both scripted items in the data store and relaunched. The preview still runs the script and the crash is unchanged.
Also ruled out: corrupted configuration (integrity_check ok), memory pressure, external modification (all zeros).
Version comparison
6.885 (2026100205) does not crash. The live editor looks new in 6.944 — a full 6.885 log session (2026-10-17, 05:54 → 23:38) contains zero occurrences of MenuLiveEditorContainerView, while 6.944 logs it repeatedly.
Secondary issue
BTT persists the last selected section (BTTLastSelectedPreferencesSection = 21). Once the editor has been opened, every later Settings launch restores that section and crashes again. Setting the key to 0 did not prevent it.
Crash log has no reason string
I could not capture the exception name/reason: the app is hardened runtime and signed without get-task-allow, so lldb attach is refused, and the uncaught exception goes straight to the trap without writing to stderr or the unified log. That's why the attached log has no reason string.
Unrelated, but worth flagging
The "anonymous usage & crash reporting" consent appears to be dead in 6.944. There are no Fabric/Crashlytics frameworks in the bundle, no linked or undefined Fabric/Crashlytics symbols, and no crashlytics data directory is created for BTT. If you rely on Crashlytics for 6.944, it looks broken — these crashes may not be reaching you at all.
Question
Is it expected for the editor's view tree to invalidate its own constraints during updateConstraints? That looks like what AppKit objects to.
Workaround
Don't open the Floating Menu section on 6.944, same issue on 6.946alpha


