Skip to content

Crash updating UI on background thread #2668

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

Closed
pjrobertson opened this issue Mar 10, 2022 · 5 comments
Closed

Crash updating UI on background thread #2668

pjrobertson opened this issue Mar 10, 2022 · 5 comments
Milestone

Comments

@pjrobertson
Copy link
Member

Describe the bug
Xcode gives a Unexpected outstanding background CATransaction message and a crash when opening the UI while also checking for updates.

To Reproduce
Steps to reproduce the behavior:

  1. Turn on 'Check for Updates' → 'On Launch'
  2. Restart Quicksilver
  3. Immediately open up the preferences, and then scroll on any scroll view
  4. See Quicksilver Crash

Screenshots

Untitled.mov

What version of macOS?
10.14.6

What version of Quicksilver?
Master + 1.6.1
I thought it was because of my recent changes to add a spinning wheel in the UI to show when updating, but I went back to the current release and I still got the same problem.

@pjrobertson
Copy link
Member Author

I'm looking at this and thinking it's a macOS issue, so it'd be great if either @skurfer or @n8henrie could try and reproduce.

Another way to reproduce is to immediately click the 'check now' button to check for updates, then scroll the left sidebar:

Untitled.mov

@skurfer
Copy link
Member

skurfer commented Mar 12, 2022

I remember consistently seeing a crash when checking for updates because it was trying to show the alert window on a background thread. I thought we fixed it, but can’t find the PR. Maybe it was fixed in an OS update?

In any case, I can’t reproduce the crash using either of the methods described here.

@pjrobertson
Copy link
Member Author

Reopening as I found out the reason (plugin updates were running on a background thread and then causing issues when updating the interface).

Fixed by #2671

@pjrobertson
Copy link
Member Author

Fixed by #2671

@pjrobertson
Copy link
Member Author

pjrobertson commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants