Opened 13 years ago

Closed 13 years ago

#5658 closed defect (fixed)

TOON: Crash on the title screen

Reported by: SF/escarlate Owned by: sylvaintv
Priority: normal Component: Engine: Toon
Version: Keywords:
Cc: Game: Toonstruck

Description

When moving the cursor to the "struck" part of the the main title, the pointer changes into the hand icon. Right-clicking changes it into the Flux Wildly icon with the wrong palette. Going back and forth between the icons makes the game crash back to the desktop, without any console output.

ScummVM version: Windows daily build dated 22, april Game version: DOS/English OS: XP SP2

Ticket imported from: #3291725. Ticket imported from: bugs/5658.

Change History (5)

comment:1 by digitall, 13 years ago

Owner: set to sylvaintv

comment:2 by digitall, 13 years ago

Replicated with: ScummVM 1.3.0git4560-g13804db-dirty (Apr 23 2011 16:41:21) Features compiled in: Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib FluidSynth Theora on Linux x86_32.

The incorrect hotspot is near the top of the K and causes a segmentation fault. Tracing cause with valgrind.

comment:3 by digitall, 13 years ago

Valgrind output associated with crash is: ==16980== Invalid read of size 4 ==16980== at 0x8C8FD88: Toon::TextResource::getText(int) (text.cpp:80) ==16980== by 0x8C67254: Toon::ToonEngine::characterTalk(int, bool) (toon.cpp: 2029) ==16980== by 0x8C65053: Toon::ToonEngine::clickEvent() (toon.cpp:1499) ==16980== by 0x8C5E9C1: Toon::ToonEngine::parseInput() (toon.cpp:261) ==16980== by 0x8C6021E: Toon::ToonEngine::showMainmenu(bool&) (toon.cpp:690) ==16980== by 0x8C60710: Toon::ToonEngine::run() (toon.cpp:798) ==16980== by 0x805094B: runGame(PluginSubclass<MetaEngine> const*, OSystem&, Common::String const&) (main.cpp:208) ==16980== by 0x805159D: scummvm_main (main.cpp:421) ==16980== by 0x804F93E: main (posix-main.cpp:48) ==16980== Address 0x4 is not stack'd, malloc'd or (recently) free'd

comment:4 by sylvaintv, 13 years ago

Resolution: fixed
Status: newclosed

comment:5 by sylvaintv, 13 years ago

Fixed in rf246382

Thanks

Note: See TracTickets for help on using tickets.