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

Crash when launching Tiled 1.10.2 installed from the itch.io app (macOS) #3831

Open
carbonacat opened this issue Oct 17, 2023 · 4 comments
Open
Labels
bug Broken behavior. macos macOS specific issue.

Comments

@carbonacat
Copy link

carbonacat commented Oct 17, 2023

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  • Install and configure itch.io app for mac OS
  • Have the Tiled 1.10.1 version installed.
  • Install Tiled for macOS 11+ 1.10.2
  • Attempt to launch it (either from the itch.io app or directly by opening the Tiled.app)
  • A standard crash report "Tiled.app quit unexpectedly." will appear 100% of time, with such a report :

20231017-tiled1.10.2-crashreport.txt

Expected behavior

  • Tiled launches properly.

Media
image

Specifications:

  • OS: macOS Monterey 12.6.7
  • Tiled Version: 1.10.2
  • itch.io Version: 25.6.2

Additional Notes:

  • It doesn't seem to happen with the released available here on github.
  • Reverting to itch.io's Tiled 1.10.1 version works properly. Only this 1.10.2 version behaves this way so far I tested.
  • Manually deleting Tiled.app from itch.io app's location then repairing/reinstalling it will make it work properly.
  • Uninstalling and reinstalling the last version will fix this crash.
    • It might be a bug from macOS due to the path being the same, cache not being cleared and the switch to universal binary.
@carbonacat carbonacat added the bug Broken behavior. label Oct 17, 2023
@carbonacat carbonacat changed the title Crash when launching Tiled 1.10.2 installed from the itch.io app Crash when launching Tiled 1.10.2 installed from the itch.io app (macOS) Oct 17, 2023
@bjorn
Copy link
Member

bjorn commented Oct 17, 2023

Hmm, the reason for this crash appears to be a missing library, or a missing or wrong code signature:

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: '@rpath/QtGui.framework/Versions/A/QtGui'
Referenced from: '/Users/USER/Library/Application Support/itch/*/Tiled.app/Contents/MacOS/Tiled'
Reason: tried: '' (code signature does not cover entire file up to signature), '' (code signature does not cover entire file up to signature), '' (no such file), '' (no such file)
(terminated at launch; ignore backtrace)

Manually deleting Tiled.app from itch.io app's location then repairing/reinstalling it will make it work properly.

Does that apply even with the 1.10.2 version? Because that implies a bug in the itch.io app rather than in the Tiled release...

@bjorn bjorn added the macos macOS specific issue. label Oct 17, 2023
@carbonacat
Copy link
Author

Does that apply even with the 1.10.2 version? Because that implies a bug in the itch.io app rather than in the Tiled release...

I think you meant 1.10.1 so I tested switching back to 1.10.1 from an installed 1.10.2 and it crashes the same exact way.
It does look like it's related to itch.io's app.

I'll open an issue here as well - I'm not sure what to do about this issue here. People on Monterey will probably encounter this issue after updating Tiled to the universal binary.

@bjorn
Copy link
Member

bjorn commented Oct 17, 2023

I'll open an issue here as well - I'm not sure what to do about this issue here. People on Monterey will probably encounter this issue after updating Tiled to the universal binary.

It's likely, though not many seem to be using the itch.io app then. The 1.10.2 release is a while ago already and I didn't get this report before (not in this level of detail, at least). But thanks for opening that issue!

Judging by the development activity on the itch.io app though, it does not look like we can expect much action...

@carbonacat
Copy link
Author

Judging by the development activity on the itch.io app though, it does not look like we can expect much action...

I agree, especially since it's kind of a niche bug which is easily circumvented by uninstalling/installing cycle or manual deletion. Well at least it's documented, thanks for your reactivity!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior. macos macOS specific issue.
Projects
None yet
Development

No branches or pull requests

2 participants