#691 closed defect (fixed)
SIMON1: Crashes when using items
Reported by: | SF/zilche | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Engine: AGOS |
Version: | Keywords: | ||
Cc: | Game: | Simon the Sorcerer 1 |
Description
ScummVM version: ScummVM 0.3.1cvs Built on Feb 8 2003 14:24:03
How to reproduce: Start up Simon the Sorcerer (DOS), English Press Escape until the game start. Pick up the magnet on the fridge, try to use it. ScummVM crashes.
Output: WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! WARNING: Adlib: Unknown control change message 121! scummvm: simon/verb.cpp:123: void SimonState::focusVerb(unsigned int): Assertion `(uint)(hitarea_id)<(sizeof(verb_prep_names)/sizeof(verb_prep_names[0]))' failed.
GDB Backtrace: #0 0x42028cc1 in kill () from /lib/i686/libc.so.6 #1 0x400a807d in raise () from /lib/i686/libpthread.so.0 #2 0x4202a019 in abort () from /lib/i686/libc.so.6 #3 0x42021cd6 in __assert_fail () from /lib/i686/libc.so.6 #4 0x080a1e0c in SimonState::focusVerb(unsigned) (this=0x8190190, hitarea_id=0) at simon/verb.cpp:123 #5 0x080a1d96 in SimonState::defocusHitarea() (this=0x8190190) at simon/verb.cpp:103 #6 0x0809bde8 in SimonState::setup_cond_c_helper() (this=0x8190190) at simon/simon.cpp:1159 #7 0x0809bcfb in SimonState::o_setup_cond_c() (this=0x8190190) at simon/simon.cpp:1123 #8 0x080a6fdf in SimonState::runScript() (this=0x8190190) at simon/items.cpp:926 #9 0x080a749a in SimonState::startSubroutine(Subroutine*) (this=0x8190190, sub=0x81cace0) at simon/items.cpp:1120 #10 0x080a6d49 in SimonState::runScript() (this=0x8190190) at simon/items.cpp:826 #11 0x080a749a in SimonState::startSubroutine(Subroutine*) (this=0x8190190, sub=0x81ca8bc) at simon/items.cpp:1120 #12 0x0809cfc8 in SimonState::handle_verb_clicked(unsigned) (this=0x8190190, verb=204) at simon/simon.cpp:1834 #13 0x080a11b1 in SimonState::go() (this=0x8190190) at simon/simon.cpp:4820 #14 0x080979ca in main (argc=1, argv=0xbffff744) at common/main.cpp:207 #15 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) f 4 #4 0x080a1e0c in SimonState::focusVerb(unsigned) (this=0x8190190, hitarea_id=0) at simon/verb.cpp:123 123 CHECK_BOUNDS(hitarea_id, verb_prep_names); (gdb) p hitarea_id $1 = 0 (gdb) p (char*)verb_prep_names $2 = 0x400aeb44 "L&#65533;"
Language: English
Version: Simon the Sorcerer 1 for DOS
Platform and compiler: Red Hat Linux 8.0, gcc 3.2
Ticket imported from: #682966. Ticket imported from: bugs/691.
Change History (4)
comment:1 by , 22 years ago
Summary: | Crashes when using items → SIMON1: Crashes when using items |
---|
comment:2 by , 22 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 19 years ago
Component: | Engine: AGOS → Engine: AGI |
---|---|
Game: | Simon the Sorcerer 1 → Space Quest 1 |
comment:4 by , 18 years ago
Component: | Engine: AGI → Engine: AGOS |
---|---|
Game: | Space Quest 1 → Simon the Sorcerer 1 |