Opened 12 years ago
Closed 12 years ago
#6212 closed defect (fixed)
EOB1: Crash when using Mage Spells such as Magic Missile
Reported by: | SF/truus999 | Owned by: | athrxx |
---|---|---|---|
Priority: | normal | Component: | Engine: Kyra |
Version: | Keywords: | ||
Cc: | Game: | Eye of the Beholder 1 |
Description
When my mage fires a magic missile or lightning bolt the geme crashes. Both spells worrked fine before it happemd for the first time on level 11 I think.
Just load the saved game and let the mage (Fon) fire a magic missile.
Ticket imported from: #3596548. Ticket imported from: bugs/6212.
Attachments (1)
Change History (12)
by , 12 years ago
comment:1 by , 12 years ago
Summary: | Game crashes → EOB: Game crashes |
---|
comment:2 by , 12 years ago
Summary: | EOB: Game crashes → EOB1: Game crashes |
---|
comment:3 by , 12 years ago
Almost forgot:
ScummVM 1.6.0git2170g89a330c (1 december 2012) DOS/English
comment:4 by , 12 years ago
Owner: | set to |
---|
comment:5 by , 12 years ago
Summary: | EOB1: Game crashes → EOB1: Crash when using Mage Spells such as Magic Missile |
---|
comment:6 by , 12 years ago
Replicated from the savegame with the latest Git master build. Running with valgrind shows the following backtrace: ==22793== Invalid read of size 1 ==22793== at 0x821A446: Kyra::EoBCoreEngine::getMageLevel(int) (eobcommon.cpp :1094) ==22793== by 0x818CE1E: Kyra::EoBCoreEngine::spellCallback_end_melfsAcidArrow (void*) (magic_eob.cpp:883) ==22793== by 0x818A168: Kyra::EoBCoreEngine::removeCharacterEffect(int, int, int) (magic_eob.cpp:249) ==22793== by 0x8189BD4: Kyra::EoBCoreEngine::castSpell(int, int) (magic_eob.c pp:182) ==22793== by 0x81785BB: Kyra::EoBCoreEngine::clickedSpellbookList(Kyra::Butto n*) (gui_eob.cpp:1019) ==22793== by 0x81C44B9: Common::Functor1Mem<Kyra::Button*, int, Kyra::EoBCore Engine>::operator()(Kyra::Button*) const (func.h:450) ==22793== by 0x817AC7C: Kyra::GUI_EoB::processButtonList(Kyra::Button*, unsig ned short, signed char) (gui_eob.cpp:1879) ==22793== by 0x81F0612: Kyra::KyraEngine_v1::checkInput(Kyra::Button*, bool, int) (kyra_v1.cpp:343)
comment:7 by , 12 years ago
truus999: A fix for this bug was committed by athrxx as 79eb6c898a704f2e41855893643ff3b3aa0bb287. Please can you test with the next nightly build and confirm if this is now fixed: http://buildbot.scummvm.org/builds.html
Thanks.
comment:8 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → pending |
comment:9 by , 12 years ago
Status: | pending → new |
---|
comment:10 by , 12 years ago
Confirmed. No more problems with the latest daily build.
Thanks for fixing.
René
comment:11 by , 12 years ago
Status: | new → closed |
---|
Saved game