Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yabai is crashing/restarting constantly on macOS 12 #920

Closed
shaunsingh opened this issue Jun 7, 2021 · 11 comments
Closed

Yabai is crashing/restarting constantly on macOS 12 #920

shaunsingh opened this issue Jun 7, 2021 · 11 comments

Comments

@shaunsingh
Copy link

Hi! Sorry to bother you, I do understand that this is beta software and it is unlikely to be supported. I thought I should notify you of the issue, but feel free to close it if you would like to.

Sometimes apps will take a good 3-4 seconds before they tile. Here is iterm for example:

Untitled.mov

It seems very random. Safari tiles almost instantly (as expected), and some apps are hit or miss (emacs sometimes tiles, sometimes doesn't)

@HeySora
Copy link

HeySora commented Jun 7, 2021

I'm getting the same behavior here.
When inspecting /opt/homebrew/var/log/yabai/yabai.err.log, I'm getting repeated messages with Übersicht errors (because I do have some events calling osascript which seems to have broken), as well as MBDisplay: creating data for display 0x1 (main) with bounds o=[0.000000, 0.000000], s=[1680.000000, 1050.000000] repeatedly.

image

It looks like yabai is getting restarted / is constantly crashing.

@shaunsingh
Copy link
Author

I can confirm quitting Übersicht worked. As for MBDisplay: creating data for display 0x1 (main) with bounds o=[0.000000, 0.000000], s=[1680.000000, 1050.000000], I see it while opening emacs through the terminal. Manually restarting yabai with brew services restart yabai seems to fix the issue for a moment

@HeySora
Copy link

HeySora commented Jun 7, 2021

Even when quitting Übersicht and restarting yabai, it still seems to be restarting every time.

I'm seeing these error messages about yabai in the console, maybe these can help?

image

When launched manually, it just segfaults after a while.
image

@shaunsingh
Copy link
Author

Same issue here, even after quitting ubersicht the problems came back

@beeaniebee
Copy link

Same issue here with the segfault, it doesn't seem to me like it's slower, just restarting constantly

@shaunsingh shaunsingh changed the title Yabai is much slower on macOS 12 Yabai is crashing/restarting constantly on macOS 12 Jun 8, 2021
@shaunsingh
Copy link
Author

Updated title to match the issue

@beeaniebee
Copy link

Ok call me crazy... I need to test it some more, but I've been working or about 5 minutes without a crash, when before I would at least have had 20-30

@beeaniebee
Copy link

Ok call me crazy... I need to test it some more, but I've been working or about 5 minutes without a crash, when before I would at least have had 20-30

It seems like the crashing is affected by workflow? I was using only the terminal app for those five minutes with no activity going on in my web browser, but the moment I opened a new page on the web browser, it crashed twice.

@shaunsingh
Copy link
Author

Its definitely a per app thing. Right now I'm only using safari and item and haven't had an issue, Second I open an emacs window it crashes.

By any chance are any of your windows frameless?

@beeaniebee
Copy link

By any chance are any of your windows frameless?

How would I find that out?

@dominiklohmann
Copy link
Collaborator

Closing in favor of #923. Please keep beta discussions to a single thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment