Opened 12 years ago

Closed 12 years ago

#3352 closed defect

FT: Crash on game load (regression)

Reported by: spookypeanut Owned by: aquadran
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Full Throttle

Description

On trying to run Full Throttle with a current (30 July) SVN, it crashes very close to the beginning. The exact point of the crash seems (to me) capricious, but it's always very near the start. The intro can be skipped and the game will crash as soon as any action is taken, if not before. The terminal gives the following error message:

Trying to start game 'Full Throttle'
WARNING: Language file is forced to be ignored!
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted (core dumped)

Tried with both vorbis & uncompressed audio, same result.
The same does not seem to happen with The Dig & COMI (which my untrained mind thinks would be most likely to be affected by the same problems as FT), though I've not delved very far.

Ticket imported from: #1763910. Ticket imported from: bugs/3352.

Change History (6)

comment:1 by DrMcCoy, 12 years ago

I committed a (supposed) fix. It works for me and shouldn't break anything.
But since I don't really know the code, someone should check it...

comment:2 by fingolfin, 12 years ago

Owner: set to aquadran

comment:3 by fingolfin, 12 years ago

Was this a regression? Did you discuss this change with e.g. aquadran?

In general, I'd say: Either be sure your fix is right, commit it, and close the bug report. Or, if you are unsure, attach a patch to the report and assign the whole thing to a person which is more of an "expert" for the code in question... :)

I just searched for your change (<http://scummvm.svn.sourceforge.net/scummvm/?rev=28338&view=rev>), and without looking at the surrounding code, I can't really judge whether it's correct or not. But maybe aquadran can confirm that it's correct?

comment:4 by fingolfin, 12 years ago

Status: newpending

comment:5 by SF/sf-robot, 12 years ago

Status: pendingclosed

comment:6 by SF/sf-robot, 12 years ago

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

Note: See TracTickets for help on using tickets.