Describe the bug
Opening version 4.1.6 (latest) of the application results in 100% CPU usage + hung process.
OS: macOS 10.15.5
Steps to reproduce the bug
Everything works fine with 4.1.5
Hi @andredasilvapinto! Someone else also got this issue in #401. It doesn't happen on my machine for some reason.
Could you please let me know if this build works for you? If it does, i'll push a new version right away.
That build has the same issue on my computer (100% CPU usage and hung process).
Ok I removed the cap, as it seemed to fix it for the other user. Could you please try this new build?
yes, that works.
I had this too and was about to report, but I'll try the new build instead!
If it's helpful, I did take a spindump of the hang (AltTab Spindump.txt (redacted)). I have also been hacking on another app that uses accessibility API, and have seen conflicts between accessibility apps in the past, so perhaps(?) that's a clue.
Thanks!
I did take a spindump of the hang (AltTab Spindump.txt)
I was confused at first why the file was so insanely long. I think you spindump'ed all processes on your system. It must have taken a while to load, no?
I have also been hacking on another app that uses accessibility API, and have seen conflicts between accessibility apps in the past, so perhaps(?) that's a clue.
No it's a deadlock situation. Data race or just recursive starvation at some point. Uncapping the concurrency, which is bad, seems to work, and it was uncapped for a long time so I just put it back that way. There is quite complex concurrency logic in this app at this point. It makes it hard to follow stuff sometimes, but the reward is buttery smooth responsiveness from the app when pressing shortcuts, even when there is activity around like apps launching and windows minimizing for example.
I finally passed CI after a few hours of fighting with cocoapods terribleness. A new release will be available shortly after CD finishes in a moment. Hopefully the issue is gone for everyone!
I was confused at first why the file was so insanely long. I think you spindump'ed all processes on your system.
Haha you're right, I just clicked AltTab in Activity Monitor and selected "Spindump", but I guess that's what it does (probably should have gone for "Sample Process"; not quite sure what I was thinking!)
Anyway, the new release fixed it for me! 馃憤
@andredasilvapinto @ThatsJustCheesy is it back to working good for you on 4.2.0? Can I close this ticket?
OK from me!
Closing this ticket. @andredasilvapinto if you still experience the issue, please let me know here and I'll re-open the ticket 馃憤
just tested 4.3.0. works fine. thanks!