Opened 13 years ago

Closed 13 years ago

#4936 closed defect (outdated)

Full Throttle crash during or after cave fish.

Reported by: SF/alonzotg Owned by: lordhoto
Priority: normal Component: Engine: SCUMM
Version: Keywords: script
Cc: Game: Full Throttle


Crash is highly reproducible... Saw a crash in the same place on my DOS machine using the game in it's natural configuration. The game will crash every time you either allow the cave-fish to recover their ramp or after you return to the mine road for the booster fuel after obtaining the ramp. Here's the stack trace:

(gdb) bt #0 0x0000000000496c93 in Scumm::AkosRenderer::codec5 (this=0x1190060, xmoveCur=94, ymoveCur=255) at engines/scumm/akos.cpp:1071 #1 0x0000000000497a24 in Scumm::AkosRenderer::drawLimb (this=0x1190060, a=<value optimized out>, limb=<value optimized out>) at engines/scumm/akos.cpp:527 #2 0x00000000004983f2 in Scumm::BaseCostumeRenderer::drawCostume (this=0x1190060, vs=<value optimized out>, numStrips=<value optimized out>, a=0x139df50, drawToBackBuf=244) at engines/scumm/base-costume.cpp:58 #3 0x0000000000490d84 in Scumm::Actor::drawActorCostume (this=0x139df50, hitTestMode=false) at engines/scumm/actor.cpp:1534 #4 0x00000000004910d8 in Scumm::ScummEngine::processActors (this=0x12e0b50) at engines/scumm/actor.cpp:1461 #5 0x0000000000491249 in Scumm::ScummEngine_v6::processActors (this=0x0) at engines/scumm/actor.cpp:1468 #6 0x000000000042a3e9 in Scumm::ScummEngine::scummLoop (this=0x12e0b50, delta=<value optimized out>) at engines/scumm/scumm.cpp:2020 #7 0x0000000000428086 in Scumm::ScummEngine::go (this=0x12e0b50) at engines/scumm/scumm.cpp:1859 #8 0x000000000040dba1 in runGame (plugin=<value optimized out>, system=..., edebuglevels=...) at base/main.cpp:216 #9 0x000000000040e830 in scummvm_main (argc=<value optimized out>, argv=<value optimized out>) at base/main.cpp:389 #10 0x000000000040ae38 in main (argc=1, argv=0x7fffffffe0c8) at backends/platform/sdl/main.cpp:65

There seems to be some massive cleanup opportunities in the code because the compiler shouldn't be finding so many opportunities to optimize things out.

Host is gentoo, 64 bit. ####### atg@tortoise ~/scumm/ft $ scummvm --version ScummVM 1.1.1 (Jun 4 2010 10:07:38) Features compiled in: Vorbis FLAC MP3 ALSA RGB zLib #######

Ticket imported from: #3033380. Ticket imported from: bugs/4936.

Change History (3)

comment:1 by sev-, 13 years ago

Could you please provide the save and _exact_ steps to reproduce?

comment:2 by lordhoto, 13 years ago

This is a duplicate of the already fixed bug It is already fixed in the latest development version of ScummVM and the fix will be included in the next release.

comment:3 by lordhoto, 13 years ago

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