You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a segmentation fault with yabai version 5.0.2 installed via homebrew:
❯ brew info yabai
==> koekeishiya/formulae/yabai: stable 5.0.2, HEAD
A tiling window manager for macOS based on binary space partitioning.
https://github.com/koekeishiya/yabai
/usr/local/Cellar/yabai/5.0.2 (7 files, 1.7MB) *
Built from source on 2022-12-17 at 08:45:40
From: https://github.com/koekeishiya/homebrew-formulae/blob/HEAD/yabai.rb
==> Requirements
Required: macOS >= 11 ✔
I have attached three displays to my macMini 2018 (Intel CPU) with macOS Monterey 12.6.1:
Display Settings
Do I do something wrong? If so, yabai should still not segfaulting but tell me that my command cannot be executed ideally with a helpful error message.
if (a_node->parent==b_node->parent&&a_node->window_count==1) {
if (window_node_contains_window(b_node, b_view->insertion_point)) {
b_node->parent->split=b_node->split;
When both windows are the only windows on each space, a_node->parent and b_node->parent are both nil. Then accessing b_node->parent->split (line 1641) results in a segmentation fault.
My naive fix is simply checking for nil of b_node->parent:
I have a segmentation fault with yabai version 5.0.2 installed via homebrew:
❯ brew info yabai
Display Settings
All spaces use the bsp layout.
I open on the left and central display a single iterm2 window:
Now, I want to warp the terminal window from the left display to the central display.
With the help of
--insert west
I want to bring in the window from the side where the originating display is located.If the window would be on the right display, I would use
--insert east
.I have started yabai with the
--verbose
option which has as the last output following two lines:For the full log see:
❯ yabai --verbose
Can someone else confirm this segmentation fault?
The weird thing is when I have two windows open on the originating or target display, the segfault disappears:
Now I can execute the commands.
Do I do something wrong? If so, yabai should still not segfaulting but tell me that my command cannot be executed ideally with a helpful error message.
Update: Crash Report from Console.app
Crash report
Attaching LLDB
yabai/src/window_manager.c
Lines 1619 to 1731 in 8da85c6
The text was updated successfully, but these errors were encountered: