[Scummvm-devel] Bugs blocking the DS port: SAGA Engine font loading crash, Options menus crash, GMM load/save crash

Neil Millstone neil at millstone.demon.co.uk
Mon May 16 11:43:32 CEST 2011


On 16/05/2011 10:34, Willem Jan Palenstijn wrote:
> On Sun, May 15, 2011 at 11:46:01AM +0100, Neil Millstone wrote:
>> Hi Team,
>>
>> I wonder if anyone could offer me some input onto three crash bug which
>> I'm looking at right now for the DS port.  These are all in areas of the
>> code that I'm not familiar with so I'd like to get some input from the
>> authors, if possible.  I'm cc'ing who I think are the authors.
>>
>> 1.
>>
>> Inherit the Earth in the Saga engine now doesn't run on the DS, crashing
>> to a white screen (it's a wierd kind of crash which I can't trap).
>>
>> I spent hours reverting to older versions of ScummVM and building until
>> I came accross the commit that broke the build.  It's this one:
>>
>> * SAGA: replace Font "::*alloc"&  "::free" with Common::Array
>> https://github.com/scummvm/scummvm/commit/1bd1a253f0bdc063b4795a68fab52e2d98d2f181
>>
>> I can't see any problems with it, but if someone who knows the code
>> better than me can take a look at it, I would be very grateful.
> Is there any way you could get information on where/when exactly it crashes?
> (Maybe with printfs, or stepping through the code in a debugger?)
> It would already be very helpful to know if it crashes when loading/initializing
> the plugin/engine, or when loading the fonts, or when using the fonts, or...
>
> -Willem Jan
Sorry, yes, I did do that.

It crashes on the line _fonts.resize(_vm->getFontsCount()), on font.cpp 
line 46.

Cheers,

- Neil





More information about the Scummvm-devel mailing list