Opened 14 years ago

Closed 13 years ago

#5523 closed defect (fixed)

AGI FAN Beyond the Titanic 2: Crash on Item Viewing

Reported by: raziel- Owned by: bluegr
Priority: high Component: Engine: AGI
Version: Keywords: script
Cc: Game: AGI Fanmade

Description

ScummVM 1.3.0svn54427 (Nov 23 2010 13:19:44) Features compiled in: Vorbis FLAC MP3 RGB zLib Theora

The game has a (design) glitch which can make ScummVM crash. Right at the start ego has a question mark (?) in his inventory, which can't be used for anything as it shouldn't be there in the first place. No commands from the commandline whatsoever trigger any reaction to that "?" but one does, from the pull down menue...

Press F4 (look at item) and choose the question mark ScummVM will crash bad (GrimReaper log attached)

AGI Fangame - Beyond the Titanic 2 (DOS/English)

AmigaOS4 - PPC - SDL - BE gcc (GCC) 4.2.4 (adtools build 20090118)

Ticket imported from: #3116541. Ticket imported from: bugs/5523.

Attachments (1)

Crashlog_scummvm_2010-11-23_13-21-38.txt (29.6 KB ) - added by raziel- 14 years ago.
Grim Reaper crash log

Download all attachments as: .zip

Change History (8)

by raziel-, 14 years ago

Grim Reaper crash log

comment:1 by digitall, 13 years ago

Replicated on Linux x86_32 with: ScummVM 1.3.0git3507-g4a5b30e-dirty (Mar 1 2011 09:45:58) Features compiled in: Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib FluidSynth Theora

Segfault occurs on F4 on the "?" item. Will attach valgrind trace of cause.

comment:2 by digitall, 13 years ago

Valgrind trace: ==7419== Invalid read of size 4 ==7419== at 0x809D8F6: Agi::SpritesMgr::showObj(int) (sprite.cpp:669) ==7419== by 0x808E613: Agi::AgiEngine::cmd_show_obj(unsigned char*) (op_cmd.c pp:427) ==7419== by 0x8092E50: Agi::AgiEngine::runLogic(int) (op_cmd.cpp:1847) ==7419== by 0x8086D86: Agi::AgiEngine::interpretCycle() (cycle.cpp:121) ==7419== by 0x808779C: Agi::AgiEngine::playGame() (cycle.cpp:351) ==7419== by 0x8087BB2: Agi::AgiEngine::runGame() (cycle.cpp:448) ==7419== by 0x8083140: Agi::AgiEngine::go() (agi.cpp:712) ==7419== by 0x805E52C: Agi::AgiBase::run() (agi.h:732) ==7419== by 0x804F234: runGame(PluginSubclass<MetaEngine> const*, OSystem&, C ommon::String const&) (main.cpp:213) ==7419== by 0x804FDC4: scummvm_main (main.cpp:423) ==7419== by 0x804E2E6: main (posix-main.cpp:48) ==7419== Address 0x4 is not stack'd, malloc'd or (recently) free'd

comment:3 by sev-, 13 years ago

Owner: set to sev-
Priority: normalhigh

comment:4 by sev-, 13 years ago

This bug is nice to get fixed before the release. Raising priority for keeping the track.

comment:5 by raziel-, 13 years ago

Nagi v2.06

Reproduceable

Message: "View 220 not found" Nagi closes silently after that

comment:6 by bluegr, 13 years ago

Keywords: script added
Owner: changed from sev- to bluegr
Resolution: fixed
Status: newclosed

comment:7 by bluegr, 13 years ago

Fixed in 07790184843c5b2f47a09eedf184121b5438e8c0, will be included in the next daily version.

Note: See TracTickets for help on using tickets.