mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

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

carbonacat posted onGitHub

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.

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...

posted by bjorn over 1 year ago

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.

posted by carbonacat over 1 year ago

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...

posted by bjorn over 1 year ago

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!

posted by carbonacat over 1 year ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests