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

patch 2.5.10 not opening #1328

Closed
LeSpec opened this issue Oct 27, 2023 · 15 comments
Closed

patch 2.5.10 not opening #1328

LeSpec opened this issue Oct 27, 2023 · 15 comments

Comments

@LeSpec
Copy link

LeSpec commented Oct 27, 2023

Patch 2.5.10 crashes immediately after opening on MacOS Catalina, i'm using 2.5.9 for now.

hstracker.log

Bildschirmfoto 2023-10-27 um 16 37 56

@fmoraes74
Copy link
Contributor

Is there anything more than it crashed on the screenshot? I don't speak German. The log file doesn't contain anything that helps. Please take a look at the Console app and see if there is any information about the crash there as well.

@LeSpec
Copy link
Author

LeSpec commented Oct 28, 2023

Console app shows a crash file, renamed it to txt so i can paste it here: HSTracker_2023-10-28-020849_Mac.txt

Opening via terminal gives an error code:

open -a hstracker
LSOpenURLsWithRole() failed for the application /Applications/HSTracker.app with error -10810.

@fmoraes74
Copy link
Contributor

Console app shows a crash file, renamed it to txt so i can paste it here: HSTracker_2023-10-28-020849_Mac.txt

Opening via terminal gives an error code:

open -a hstracker
LSOpenURLsWithRole() failed for the application /Applications/HSTracker.app with error -10810.

Thanks for the info. Can you try the information from here: https://superuser.com/questions/1564451/macos-catalina-fails-to-open-certain-apps-with-lsopenurlswithrole-failed-with

Also check if the executable is tagged with quarantine:

xattr /Applications/HSTracker.app/Contents/MacOS/HSTracker

If you see com.apple.quarantine, then that's the case. You can try to open the application from Finder by right-clicking it and allowing to open even though it is downloaded from the Internet.

If these don't work, then we are back at square one.

@MrLyle
Copy link

MrLyle commented Oct 28, 2023

I do see com.apple.quarantine when running that command, but right clicking it in finder and hitting open goes straight to the error message.

@fmoraes74
Copy link
Contributor

I do see com.apple.quarantine when running that command, but right clicking it in finder and hitting open goes straight to the error message.

Please try the following: xattr -d -r com.apple.quarantine /Applications/HSTracker.app and let me now if that resolves it.

If so, how did you update to version 2.5.10 ?

@LeSpec
Copy link
Author

LeSpec commented Oct 28, 2023

If so, how did you update to version 2.5.10 ?

Manual via "check for updates" and when that failed to launch i downloaded it from github.

Please try the following: xattr -d -r com.apple.quarantine /Applications/HSTracker.app and let me now if that resolves it.

Both versions are tagged with com.apple.quarantine, xattr -dr doesn't help, the difference must be somewhere else.

@MrLyle
Copy link

MrLyle commented Oct 28, 2023

Please try the following: xattr -d -r com.apple.quarantine /Applications/HSTracker.app and let me now if that resolves it.

That didn't help, it still quits right away.

If so, how did you update to version 2.5.10 ?

I had an update notification through the app. I updated it that way, then when it wouldn't launch, I removed it and downloaded a fresh copy through github and it did the same thing.

@fmoraes74
Copy link
Contributor

Can you try with version 2.5.9 and try the online update? Does that help? You be confirm if the quarantine tag has been removed after running the above command. If you still have a crash, try opening it from terminal:

open -a hstracker

and share any output from that and a crash report found in the Console app.

@MrLyle
Copy link

MrLyle commented Oct 28, 2023

So here's the thing. Downloading 2.5.9 and launching it, it gives the usual popup asking me if I trust the developer and I say yes and it launches normally. Then, using the updater in the app, after I hit install and relaunch, it doesn't give me the same popup asking me if I trust the developer. It just puts it in automatic quarantine and crashes.

After running open -a hstracker, the quarantine tag seems to be gone, but the app still crashes with error -10810.

Here's something that probably matters. The computer I'm running this on is an Intel iMac running Catalina. I have an M2 Macbook Air running the latest version of Sonoma where this problem doesn't happen. 2.5.10 runs just fine on that system. I dunno if that narrows it down to an OS version problem or a Intel/M series problem.

I'll attach the console crash report in a docx document cause it's a lot of text. Let me know if there's anything else you need me to try.

HSTracker Crash.docx

@fmoraes74
Copy link
Contributor

@MrLyle Thanks for the report. This seems to be caused by the Xcode upgrade. I found some reports from the beta version, so I built with one of the suggested work arounds. Can you try this attached version and let me know if there is any change?

https://drive.google.com/file/d/1qmYDUAyUVcWNyUEmltM5J9ovI0VJ30C0/view?usp=sharing

If it works, I will publish a new version with this change.

@MrLyle
Copy link

MrLyle commented Oct 29, 2023

@MrLyle Thanks for the report. This seems to be caused by the Xcode upgrade. I found some reports from the beta version, so I built with one of the suggested work arounds. Can you try this attached version and let me know if there is any change?

https://drive.google.com/file/d/1qmYDUAyUVcWNyUEmltM5J9ovI0VJ30C0/view?usp=sharing

If it works, I will publish a new version with this change.

Yep, that version asked me to trust the developer like all the prior ones. I gave it permission and it launched normally. Thanks for the all the work man. It's much appreciated.

fmoraes74 added a commit that referenced this issue Oct 29, 2023
Fix crash when starting up due to Xcode 15 upgrade (issue #1328)
@fmoraes74
Copy link
Contributor

Please confirm is official 2.5.11 version solved the problem.

@LeSpec
Copy link
Author

LeSpec commented Oct 29, 2023

downloaded latest patch 2.5.11, works like a charm, thank you for the quick fix

@MrLyle
Copy link

MrLyle commented Oct 29, 2023

I replaced the test version with .11 and it's working well.

@fmoraes74
Copy link
Contributor

I replaced the test version with .11 and it's working well.

Please use the official version now. I will delete the test version.

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

No branches or pull requests

3 participants