Describe the bug
Every other day BTT crashes and I have to restart it. In particular, it is shut down every morning when I open my laptop. Apart from that it just crashes every other day during the day.
Device information:
Macbook Air 2020, 13-inch
macOS Big Sur 11.1
BTT version: 2.428
then it's usually not a real crash, however these "silent quits" are unfortunately hard to diagnose. It could be something is actively quitting BTT.
The log shows that the BTT helper process "BTTRelaunch" doesn't find an active BTT instance anymore and starts BTT again, but there is nothing in the log on why it might have quit ;-(
Super-hard to tell, because my currently focused window just loses focus and maybe it’s my floating menu (custom ChatGPT) that might’ve crashed but stole the focus beforehand. I’m not sure… maybe any extra logging I can do to debug further via logs?
Is it possible this started after the 15.7.2 macOS upgrade? Looking at the log there is one very weird thing: In the first log the system seems to tell BTTRelaunch that no instance of BTT is running anymore. However in the second call (which BTTRelaunch however ignores because that was usually not necessary), the system tells "BTT is running fine". Which is why BTTRelaunch then proceeds with starting BTT again - even though it seems to be still running.
I'll add some code to not ignore the second call, but it is very weird that the system would give different results for the same thing within a few milliseconds
I am pretty positive it started with macOS 15.7.2, yes. It’s been around a week or two that I’ve been wondering why my focus was lost out of nowhere and my ChatGPT floating menu was loading from scratch after I summoned it via my keybinding and I used it just a minute ago.
The focus lose behavior is the same as when I’m restarting BetterTouchTool intentionally.
that specific fix was already included several versions before that, unfortunately I have never been able to reproduce myself and haven't received similar reports yet, which makes it hard to validate. However if you encounter this again, posting the new logs might help!
These logs are very weird, almost as if you got an old version of the BTTRelaunch helper app.
Could you try to create a sample of the BTTRelaunch app via activity monitor?
That is indeed not the version with the required fix.
Can you try downloading a fresh copy of BTT and replace your existing one? (folivora.ai - Great Tools for your Mac!)
the version of the BTTRelaunch helper tool. Maybe it couldn't be replaced when you updated your BTT, could be some permission issue. Replacing the whole BTT app manually should solve this
The logs still seem to indicate an old version of BTTRelaunch :-/
Did you delete the old BetterTouchTool.app from your applications folder before downloading the new one? I'm not sure how that would be possible (I just checked again but 5.800 definitely contains v1.16 (22)
Can you try to take another sample of the BTTRelaunch process and see what version it shows now?