6.944 crash: EXC_BREAKPOINT when opening the Floating Menu live editor

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:

  1. Launch BTT
  2. Open Settings → "Custom Floating Menus / Widgets & BTT Mobile"
  3. 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

could you post the full crashlog?

BetterTouchTool-2026-10-18-005729.ips (52.6 KB)

could you check whether this option is enabled? If not, try to enable it.

The crash seems to happen without any direct BTT code path (happens all in Apple frameworks), thus it is hard to pin down. Unfortunately I haven't had similar reports yet, so most likely it is some specific UI state or something like this that SwiftUI doesn't like.

modern trigger/action was already enabled
still crashing with this toggle disabled

Can you try this:

  1. Quit BTT, then send me your current window sizing values (copy the Terminal output into the thread):
defaults read com.hegenberg.BetterTouchTool | grep -E -A4 'BTTPrefsWindowFrame|BTTLastConfigWidth|BTTLevel2ModeColumnWidths|BTTNewSidebarWidth|BTTNewUIBaseFontSize|BTTUIFolderNavigationExtraColumnMode|BTTMenuLiveEditor|Subview Frames'
defaults read -g AppleShowScrollBars
  1. Reset them using the following command and test. Quit BTT first, otherwise it overwrites the values:
for k in BTTPrefsWindowFrame BTTLastConfigWidth BTTLevel2ModeColumnWidths BTTNewSidebarWidth "NSSplitView Subview Frames BTTMainSplitNew" "NSSplitView Subview Frames BTTListViewModeVCSplit" "NSSplitView Subview FramesX BTTOutlineSplitNew"; do defaults delete com.hegenberg.BetterTouchTool "$k"; done

Then start BTT, open the Floating Menus section and leave it open for about 2 minutes. Does it still crash?

 pier@pierbook-eth ~  defaults read com.hegenberg.BetterTouchTool | grep -E -A4 'BTTPrefsWindowFrame|BTTLastConfigWidth|BTTLevel2ModeColumnWidths|BTTNewSidebarWidth|BTTNewUIBaseFontSize|BTTUIFolderNavigationExtraColumnMode|BTTMenuLiveEditor|Subview Frames'

    BTTNewSidebarWidth = "80.5";
    BTTNoShortcutDelay = 1;
    BTTNormalTermination = 1;
    BTTNotchBarFeatureAvailable = 0;
    BTTNotchBarNotchMenubarModeHideLeftFixed = 1;
--
    "NSSplitView Subview Frames BTTMainSplitNew" =     (
        "83.000000, 0.000000, 180.000000, 426.000000, NO, NO",
        "263.000000, 0.000000, 180.000000, 426.000000, NO, NO",
        "443.000000, 0.000000, 240.000000, 426.000000, NO, NO",
        "683.000000, 0.000000, 247.000000, 426.000000, NO, NO"
--
    "NSSplitView Subview Frames BTTRuleEditorVariablesSplit" =     (
        "0.000000, 0.000000, 816.000000, 1202.000000, NO, NO",
        "817.000000, 0.000000, 259.000000, 1202.000000, NO, NO"
    );
    "NSSplitView Subview Frames NSColorPanelSplitView" =     (
        "0.000000, 0.000000, 266.000000, 300.000000, NO, NO",
        "0.000000, 320.000000, 266.000000, 99.000000, NO, NO"
    );
    "NSStatusItem Preferred Position AlwaysHiddenFromHere" = 50000;
 pier@pierbook-eth ~  defaults read -g AppleShowScrollBars

Error: Could not find key 'AppleShowScrollBars' in domain 'kCFPreferencesAnyApplication'.
 pier@pierbook-eth ~ 

 pier@pierbook-eth ~  for k in BTTPrefsWindowFrame BTTLastConfigWidth BTTLevel2ModeColumnWidths BTTNewSidebarWidth "NSSplitView Subview Frames BTTMainSplitNew" "NSSplitView Subview Frames BTTListViewModeVCSplit" "NSSplitView Subview FramesX BTTOutlineSplitNew"; do defaults delete com.hegenberg.BetterTouchTool "$k"; done

Error: Could not find key 'BTTPrefsWindowFrame' in domain 'com.hegenberg.BetterTouchTool'.
Defaults have not been changed.
Error: Could not find key 'BTTLastConfigWidth' in domain 'com.hegenberg.BetterTouchTool'.
Defaults have not been changed.
Error: Could not find key 'BTTLevel2ModeColumnWidths' in domain 'com.hegenberg.BetterTouchTool'.
Defaults have not been changed.
Error: Could not find key 'NSSplitView Subview Frames BTTListViewModeVCSplit' in domain 'com.hegenberg.BetterTouchTool'.
Defaults have not been changed.
Error: Could not find key 'NSSplitView Subview FramesX BTTOutlineSplitNew' in domain 'com.hegenberg.BetterTouchTool'.
Defaults have not been changed.
 pier@pierbook-eth ~ 

Stucks and then crashes...

Did some more tests:

  1. Fresh BTT install (6.944, build 2026101702), do NOT start the companion app

  2. Open Settings -> Custom Floating Menus / Widgets & BTT Mobile
    -> no crash, the screen loads fine

  3. Start the BetterTouchTool companion app on my iPhone
    -> it creates btt-mobile-example-menu, example-menu2 and example-menu3

  4. Open the same settings section again
    -> crashes, same signature as before

unfortunately I still can not reproduce it, even with your exact steps. It could be some subtle system UI setting that makes our setups slightly different.

Based on the crashlog I have one idea, but it is only a guess. Could you try whether 6.948 (uploading now, available in ~10 min) fixes the issue for you?

6.949 now,

WORKS FOR ME!!! :partying_face::partying_face::partying_face::partying_face::partying_face:

And I just noticed that if I create a new menu, a floating preview appears in the bottom-left corner of the desktop, whereas this doesn't show up for the pre-set menus for the companion app.

THANKS!!!!!!!!