Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2415 closed defect (fixed)

FT DEMO: assertion triggered when playing movie

Reported by: SF/clemty Owned by: sev-
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Full Throttle

Description

using latest CVS on linux, Athlon64, Full Throttle demo (I know there's no support for the demos)

when trying to drive away from Kickstand, an assertion is triggered:

scummvm: backends/sdl/graphics.cpp:807: virtual void OSystem_SDL::copyRectToScreen(const byte*, int, int, int, int, int): Assertion `h > 0 && y + h <= _screenHeight' failed.

running with debuglevel 9 gives me the following lines before the crash:

Script 68, offset 0x30: [C9] o6_kernelSetFunctions() pop 2 pop 0 pop 6 getResourceAddress(String,59) == 0xb813f4 getResourceAddress(String,59) == 0xb813f4 getResourceAddress(String,59) == 0xb813f4 trying to read text ressources from rideout.trs File rideout.trs not found trying to read text ressources from digtxt.trs File digtxt.trs not found Locking mutex IMuseDigital::callback() Unlocking mutex IMuseDigital::callback() Locking mutex IMuseDigital::callback() Unlocking mutex IMuseDigital::callback() SmushMixer::stop() File rideout.mp3 not found File rideout.ogg not found SmushPlayer::handleAnimHeader() flushTracks() Locking mutex IMuseDigital::callback() Unlocking mutex IMuseDigital::callback() SmushPlayer::handleFrame(0) Smush stats: updateScreen( 000 ) SmushMixer::handleFrame() Smush stats: FRME( 002 ), Limit(10) flushTracks() scummvm: backends/sdl/graphics.cpp:807: virtual void OSystem_SDL::copyRectToScreen(const byte*, int, int, int, int, int): Assertion `h > 0 && y + h <= _screenHeight' failed. Aborted

Ticket imported from: #1386333. Ticket imported from: bugs/2415.

Change History (12)

comment:1 by eriktorbjorn, 19 years ago

Looks like it's one of those 384x242 frames that smush_player.cpp explicitly tests for, but I don't know enough about SMUSH to know what that means... I wonder if it happens anywhere in the full game as well.

comment:2 by eriktorbjorn, 19 years ago

Owner: set to sev-

comment:3 by eriktorbjorn, 19 years ago

Sev, do you know anything about this?

comment:4 by fingolfin, 19 years ago

Summary: FT DEMO - assertion triggered when playing movieFT DEMO: assertion triggered when playing movie

comment:5 by fingolfin, 19 years ago

Well, we should probably just clip it to 320x200 -- after all that's probably what we did before anyway, no?

comment:6 by sev-, 19 years ago

Exactly. I'll look into this.

comment:7 by bluegr, 19 years ago

Well, that's the end of the demo anyway, so you won't get to see anything else apart from the full version teaser :)

comment:8 by fingolfin, 19 years ago

I assume this issue hasn't been fixed yet, has it?

comment:9 by sev-, 19 years ago

Owner: sev- removed

comment:10 by sev-, 19 years ago

No. Back to the pool, so other could pick it up. In fact what is needed is to look at file history and restore removed call to cropping funcion.

comment:11 by sev-, 19 years ago

Fixed in SVN.

comment:12 by sev-, 19 years ago

Component: Engine: SCUMM
Game: Full Throttle
Owner: set to sev-
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.