MACOSX: version 1.4.0 fails to start on 10.3 PPC
|Reported by:||criezy||Owned by:||vinterstum|
|Priority:||normal||Component:||Port: Mac OS X|
When trying to start ScummVM 1.4.0 on my G3 (PPC) laptop running MacOS 10.3.9 ScummVM gets stuck (the application does not crash but the window never appears). When starting it from the terminal I get the following errors: +[NSString stringWithCString:encoding]: selector not recognized Exception raised during posting of notification. Ignored. exception: *** +[NSString stringWithCString:encoding]: selector not recognized Assertion failure in -[NSMenu itemAtIndex], Menus.subproj/ NSMenu.m: 638 NSTimer discarding exception 'NSInternalInconsistencyException' (reason 'Invalid parameter not satisfaying: (index >= 0 && (index < (_itemArray ? CFArrayGetCount(_itemArray) : 0))') that was raised during firing timer with target 18a0428 and selector 'cocoaGesturesInsertMenu'
If I had to make educated guesses I would say that: the first one (selector not recognized) might come from the code added to translate the MacOS X menu (in backends/platform/sdl/macosx/appmenu_osx.mm). the last one (assertion failure in [NSMenu itemAtIndex] might come from the code that added Sparkle support (backends/updates/macosx/macosx-updates.mm) since it seems to be the only one using that method (on line 48: NSMenuItem *menuItem = [[NSApp mainMenu] itemAtIndex:0];).
I can also confirm that ScummVM 1.3.1 works on the same system.
Ticket imported from: #3437529. Ticket imported from: bugs/5898.