-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
v3.3.0 crashed and can no longer be started #202
Comments
Oh that's terrible! Another user had a similar issue #125 (comment) If it crashes straight away, I think it may be an issue with reading the preferences. Could you run this command and share the results? defaults read com.lwouis.alt-tab-macos Or any crash report or Console.app logs of course would help! |
sorry I delete the app with all files and logs and install 3.2.1 again. |
No need to downgrade. If it crashes when 3.3.0 is starting, I would like to see what the command I gave above shows, because my first guess would be a preference incompatibility. |
I have deleted the preferences. Still same crash. |
@janbl showed his preferences:
I replicated exactly that on 3.2.1, then started 3.3.0, and nothing crashes. Not sure how to proceed then |
I guess it's crashing for another reason. I can't reproduce locally. Do you see any logs in Console.app? |
Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Termination Signal: Illegal instruction: 4 Application Specific Information: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread |
Same issue here on OS X 10.14.6. $ defaults read com.lwouis.alt-tab-macos { $ cd /Applications/AltTab.app/Contents/MacOS $ ./AltTab |
Hard to tell what's wrong here. I'm trying a blind fix with #203 |
@janbl @zoomosis @mrc247-DE what macOS version are you running on? |
OS Version: Mac OS X 10.15.4 (19E266) |
@zoomosis mentioned earlier s/he was on 10.14.6
|
macOS Catalina 10.15.4 |
Can you guys open the project in XCode perhaps? It's only 3 steps to run the app locally. When you run the app in debug mode and it crashes, it shows you the line and you can understand what's happening way easier since you have the line, the variables on the stack, etc. In any case, I'm going to merge the blind fixes in #203 as soon as the PR build passes. Maybe that will help |
I just released v3.3.1. Can you guys try it and share if it fixes the issue for you? 🤞 |
3.3.1 seems OK here under OS X 10.14.6. No crash on launch. Thanks! |
3.3.1. Looks a lot better. |
Oh that's really interesting! Thanks for testing and finding this! Are you checking or unchecking the checkbox? The issue means something in this function throws an exception: It is quite puzzling since this code hasn't changed much. I wonder if it's something specific to your environment like not enough permissions to delete a login item or something. Could you please share your login items? Here are mine for instance: Another potential lead: do you have AltTab in your |
Your guess is right, I had an entry with an exclamation mark from an already deleted app in my login items. After deleting the entry your dialog works well. I tried to reproduce the weird entry but was not able to. |
@janbl I was able to identify the root cause thank to your help! Goddamn Apple strikes again:
The signature is public func LSSharedFileListItemCopyResolvedURL(_ inItem: LSSharedFileListItem!, _ inFlags: LSSharedFileListResolutionFlags, _ outError: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<CFURL>! They forced the result with I'll make a fix for this as soon as possible! 👍 |
Very cool, thanks for the really quick fix. |
Another technical note to document this mess from Apple: Calling So for AltTab I fixed the crash when going through the items and finding one without URL, but I still can't clean old invalid items. |
## [3.3.2](v3.3.1...v3.3.2) (2020-04-02) ### Bug Fixes * crashed if an invalid login item existed (closes [#202](#202)) ([48d5d63](48d5d63))
I update to 3.3.0
Open Settings
App Crashed
I can not start it anymore
I reboot my Mac
I reinstall 3.3.0
but 3.3.0 alway crash and I can not start it anymore :-(
The text was updated successfully, but these errors were encountered: