Opened 10 years ago

Closed 10 years ago

#4786 closed defect (fixed)

BASS: Crash During the Intro

Reported by: SF/maplesyrup Owned by: eriktorbjorn
Priority: normal Component: Engine: Sky
Keywords: Cc:
Game: Beneath a Steel Sky

Description

In Beneath a Steel Sky ScummVM crashed during the intro after the line "and that was when Joey piped up" with no error message.

game version: 0.0372cd English
Windows 7 64-bit
1.1.0 svn 48151

I tried three different SVN builds and tried to re-download BASS. It just tried it with ScummVM 1.0.0 and it doesn't crash with it.

Ticket imported from: #2960522. Ticket imported from: bugs/4786.

Change History (3)

comment:1 by SF/maplesyrup, 10 years ago

Component: Engine: Sky
Game: Beneath a Steel Sky

comment:2 by eriktorbjorn, 10 years ago

I think I see why. It's using the "free memory automatically after playing" mechanism in the ScummVM mixer, even though a) the engine manages this particular memory block manually, and b) the pointer it's passing to the engine isn't at the start of the allocated block, so it can't be freed.

(This only applies to sound effects. Voices are handled slightly differently - perhaps to make translations easier - so they should have been fine all along.)

Should be fixed in the next snapshot build.

comment:3 by eriktorbjorn, 10 years ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.