MacOS Catalina support?

Ask for help with ScummVM problems

Moderator: ScummVM Team

User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

Thanks alot for trying to fix this.

The 2.1.0 build crashes, but at least it's a different error, so some kind of some progress. ;-)

I'm not sure if I'm missing something that ScummVM needs. The Mac is fairly new and quite clean, app and install wise.
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: MacOS Catalina support?

Post by criezy »

Muyfa666 wrote: Thu Oct 10, 2019 8:52 am The 2.1.0 build crashes
That's not good news. Can you please take a look at FAQ 5.6 and provide the information you get?
User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

I've attached both the crash report and a text file. Can you use any of them?
Attachments
scummvm_2019-10-10-120923.zip
(44.38 KiB) Downloaded 138 times
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: MacOS Catalina support?

Post by criezy »

That doesn't look too good. I will have to dig a bit deeper into this.
I have two questions:
  • You indicated previously that he official 2.0.0 release works for you. Correct?
  • Do you have one of those recent macbook with a touch bar above the keyboard?
The issue seems to come from the touch bar, but since I don't have one of those that is something that is difficult for me to test. I will try to prepare several builds for you this evening to see which one works and if we can narrow down the issue.
User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

Yes, the standard official 2.0.0.1 works fine. And I do have a 2019 MBP13 with touch bar.
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: MacOS Catalina support?

Post by criezy »

Muyfa666, could you please try the following two versions:
  1. https://www.dropbox.com/s/8jvzirjrzv7x2 ... p.dmg?dl=0
  2. https://www.dropbox.com/s/2y96wb4g05obo ... 7.dmg?dl=0
The first one is basically the same as the one I had prepared for the official release, so it will probably crash. However I didn't strip the debug information, so the crash log will hopefully be more useful. Please try it, and if it indeed crashes provide the crash log as well as the content of the ~/Library/Logs/scummvm.log file. This file is overwritten every time you start ScummVM, so be sure to get its content just after you tried this version (you can for example type cat ~/Library/Logs/scummvm.log in a Terminal.app window).

The second one might work. It uses the same SDL2 library I used for the 2.0.0 release (while I tried to use a more recent one for the 2.1.0 release). So that will tell us if the issue comes from the newer SDL2 library or something else.

I have also made some further changes to try to fix the 64 bits daily build. We will know tomorrow if that worked or not.
User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

The first one does not seem to be a 64-bit app, so I can't even run it.

The second one crashes.

I've provided the crash log from the second one.
Attachments
scummvm_2019-10-11-021513.zip
(23.36 KiB) Downloaded 127 times
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: MacOS Catalina support?

Post by criezy »

Sorry, I indeed made a mistake. The first link should now provide the correct 64 bits version that contains debug information.
User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

Now it's 64-bit indeed, and it's still crashing.

Here are the logs.
Attachments
scummvm_2019-10-11-024517.zip
(43.57 KiB) Downloaded 131 times
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: MacOS Catalina support?

Post by criezy »

Thank you. This last crash report makes a lot more sense.
From what I can see iIt seems to point to a bug in macOS Catalina when it customize the touch bar when an application starts.This is probably triggered by something we do in ScummVM and that changed between version 2.0.0 and 2.1.0, but I can't quite think what that might be.

I will need to spend more time on this but this may take some time (especially as I am traveling during the next two weeks and will not have much time).
User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

Just let me know when you need me to test anything.

So far, it does not seem like the new daily builds are done yet, so I haven't been able to test them.
User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

I just tried both the daily stable and master... both works fine! How about that?
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: MacOS Catalina support?

Post by criezy »

Great. So at least there is one source of recent builds that you can use :-)
This also rules out the SDL library being the issue since I rolled out the same one on buildbot as I am using for the official release.
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: MacOS Catalina support?

Post by criezy »

And I think we found the issue with the official release. I have updated the 2.1.0 release package, and if you download it again this one will hopefully work for you now.
User avatar
Muyfa666
Posts: 215
Joined: Sat Feb 04, 2006 11:46 pm
Location: Sweden

Re: MacOS Catalina support?

Post by Muyfa666 »

Confirmed. The latest official 2.1.0, daily master and daily stable all work fine. I guess we can close the book on this topic? Thx a lot fellas! :-)
Post Reply