[Scummvm-tracker] [ScummVM] #10764: KYRA: LOL: Cannot Use Vaelan's Cube On Scottia's Barrier
David Turner
trac at scummvm.org
Fri Nov 23 10:10:00 CET 2018
#10764: KYRA: LOL: Cannot Use Vaelan's Cube On Scottia's Barrier
----------------------------+---------------------------------------------
Reporter: alois-kende | Owner: digitall
Type: defect | Status: new
Priority: normal | Component: Engine: Kyra
Resolution: | Keywords: vaelan's cube barrier too close
Game: Lands of Lore |
----------------------------+---------------------------------------------
Comment (by digitall):
Ah found the cause:
{{{
==21543== Invalid read of size 2
==21543== at 0xD7EC4C: Kyra::LoLEngine::castSpell(int, int, int)
(lol.cpp:1993)
==21543== by 0xDA909E: Kyra::LoLEngine::olol_castSpell(Kyra::EMCState*)
(script_lol.cpp:2077)
==21543== by 0xDB1F41: Common::Functor1Mem<Kyra::EMCState*, int,
Kyra::LoLEngine>::operator()(Kyra::EMCState*) const (func.h:451)
==21543== by 0xD1472F:
Kyra::EMCInterpreter::op_sysCall(Kyra::EMCState*) (script.cpp:306)
==21543== by 0xD140DA: Kyra::EMCInterpreter::run(Kyra::EMCState*)
(script.cpp:208)
==21543== by 0xE90CC8: Kyra::LoLEngine::runItemScript(int, short, int,
int, int) (items_lol.cpp:311)
==21543== by 0xE86BA1:
Kyra::LoLEngine::clickedPortraitEtcRight(Kyra::Button*) (gui_lol.cpp:1178)
==21543== by 0xDCF035: Common::Functor1Mem<Kyra::Button*, int,
Kyra::LoLEngine>::operator()(Kyra::Button*) const (func.h:451)
==21543== by 0xE8B2D6: Kyra::GUI_LoL::processButtonList(Kyra::Button*,
unsigned short, signed char) (gui_lol.cpp:2168)
==21543== by 0xE687A8: Kyra::KyraEngine_v1::checkInput(Kyra::Button*,
bool, int) (kyra_v1.cpp:343)
==21543== by 0xE84B4C: Kyra::LoLEngine::gui_updateInput()
(gui_lol.cpp:768)
==21543== by 0xD7A292: Kyra::LoLEngine::runLoop() (lol.cpp:892)
==21543== Address 0x1e044cda is 6 bytes before a block of size 63 alloc'd
==21543== at 0x4C30F25: calloc (vg_replace_malloc.c:711)
==21543== by 0x2013DF8: Graphics::Surface::create(unsigned short,
unsigned short, Graphics::PixelFormat const&) (surface.cpp:74)
==21543== by 0x200027E:
Graphics::TTFFont::cacheGlyph(Graphics::TTFFont::Glyph&, unsigned int)
const (ttf.cpp:597)
==21543== by 0x1FFF160:
Graphics::TTFFont::load(Common::SeekableReadStream&, int,
Graphics::TTFSizeMode, unsigned int, Graphics::TTFRenderMode, unsigned int
const*) (ttf.cpp:254)
==21543== by 0x2000585:
Graphics::loadTTFFont(Common::SeekableReadStream&, int,
Graphics::TTFSizeMode, unsigned int, Graphics::TTFRenderMode, unsigned int
const*) (ttf.cpp:661)
==21543== by 0x1EE0D9F:
GUI::ThemeEngine::loadScalableFont(Common::String const&, Common::String
const&, int, Common::String&) (ThemeEngine.cpp:1482)
==21543== by 0x1EE1193: GUI::ThemeEngine::loadFont(Common::String
const&, Common::String const&, Common::String const&, int, bool)
(ThemeEngine.cpp:1540)
==21543== by 0x1EDD043: GUI::ThemeEngine::addFont(GUI::TextData,
Common::String const&, Common::String const&, int) (ThemeEngine.cpp:526)
==21543== by 0x1EEB45F:
GUI::ThemeParser::parserCallback_font(Common::XMLParser::ParserNode*)
(ThemeParser.cpp:187)
==21543== by 0x1EF23CA:
GUI::ThemeParser::CustomXMLKeyLayout::doCallback(Common::XMLParser*,
Common::XMLParser::ParserNode*) (ThemeParser.h:53)
==21543== by 0x1EF2344:
GUI::ThemeParser::keyCallback(Common::XMLParser::ParserNode*)
(ThemeParser.h:53)
==21543== by 0x213B8BF: Common::XMLParser::parseActiveKey(bool)
(xmlparser.cpp:196)
==21543==
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/10764#comment:11>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list