ScummVM 2.1 - macOS crashes

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
almeath
Posts: 104
Joined: Fri Mar 14, 2008 1:40 pm
Location: Australia

ScummVM 2.1 - macOS crashes

Post by almeath » Sat Oct 12, 2019 7:10 am

Is anyone using macOS Mojave 10.14.6 experiencing crashes in ScummVM 2.1 when switching between windowed and fullscreen mode?

I am getting various "segmentation fault" crashes when switching with the option-return keyboard command - usually when going from windowed mode back into fullscreen.

User avatar
almeath
Posts: 104
Joined: Fri Mar 14, 2008 1:40 pm
Location: Australia

Re: ScummVM 2.1 - macOS crashes

Post by almeath » Sat Oct 12, 2019 8:05 am

I also tested in Catalina (fresh installation) and got similar segmentation faults, partial output below:

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [693]

User avatar
criezy
ScummVM Developer
Posts: 631
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: ScummVM 2.1 - macOS crashes

Post by criezy » Sat Oct 12, 2019 2:49 pm

There was an issue with the original 2.1.0 macOS release which has now been fixed. You can see some details on https://bugs.scummvm.org/ticket/11197. If you download again from https://www.scummvm.org/downloads/#stable it should now work.

User avatar
almeath
Posts: 104
Joined: Fri Mar 14, 2008 1:40 pm
Location: Australia

Re: ScummVM 2.1 - macOS crashes

Post by almeath » Sat Oct 12, 2019 9:56 pm

Confirming it works now. Thanks.

SnakeCoils
Posts: 2
Joined: Wed Oct 16, 2019 8:17 pm

Re: ScummVM 2.1 - macOS crashes

Post by SnakeCoils » Wed Oct 16, 2019 9:04 pm

Not really a crash but there are some serious troubles with the OSX PPC version.
The first oddity is the DMG distribution image disk that contains an executable (bundle) without the usual green "S" icon, completely blank.
The executable itself does nothing, I can only see the title "ScummVM" in the top menu bar and the mouse pointer disappear (like it was behind the backdrop).
No menus, no dialog window, nothing. Also I can't quit the application, the only way it is to force the task to be killed through the usual ALT+CMD+ESC key combination.
I am on a PowerMac G4 MDD with latest OSX 10.5.8 installed, Radeon X800XT and 2 Gig of System memory.
I have also tried to built the executable (bundle) from source with identical results, no icon, no windows, nothing.

User avatar
criezy
ScummVM Developer
Posts: 631
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: ScummVM 2.1 - macOS crashes

Post by criezy » Wed Oct 16, 2019 11:25 pm

The PPC version becomes harder to generate with each release, at least for me, and I almost didn't make one for this release. The only system I have to test it is a Mac OS X 10.6 intel iMac, which means it uses Rosetta to run the PPC executable. This is far from ideal. This latest release works properly for me (and I do have the icon), but I am not really surprised that others have issue with it.

SnakeCoils
Posts: 2
Joined: Wed Oct 16, 2019 8:17 pm

Re: ScummVM 2.1 - macOS crashes

Post by SnakeCoils » Thu Oct 17, 2019 8:20 pm

Most of the missing MacPorts packages for PPC are (unofficially) available thanks to a bunch of enthusiast that still support this platform.
For example SDL2 and Flac (needed for ScummVM build) exists natively for OSX PPC but not so up to date, SDL2 is hold on 2.0.3 (most recent is 2.0.10) and flac to 1.3.2 (latest 1.3.3) thanks to a developer named "Kencu" and his unvaluable work in PPC porting to old OSX systems named "TigerPorts", the link to the repository is the following:

https://github.com/kencu/TigerPorts

I prefer to compile the PPC binaries natively on PowerMacs instead of cross-compiling on intel Macs because the results are more predictable on the real hardware. I can provide some support for OSX PPC version of ScummVM with debug reports but since I am not a programmer I need some hints on how to proceed. I have already done this in the past for other projects like the Amiga emulator FS-UAE ported to PPC Macs so I can borrow some spare time to help in mantaining this wonderful project.
I am addicted to adventure games since the very first Apple II releases so I followed ScummVM almost since the very first day and even if I have a modern MacPro for my everyday activity I like to play vintage games on vintage hardware :-)

Post Reply