Opened 19 years ago

Closed 19 years ago

Last modified 11 years ago

#45 closed defect (fixed)

crash when picking up shovel in MI2

Reported by: SF/khalek_ Owned by:
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Monkey Island 2

Description

Running what at the time of writing was the latest scummvm from CVS that uses the ADLIB stuff on my linux box...

When picking up the shovel (sign) at the start of MI2 after meeting largo I get a segfault. The console output when not running gdb is as follows:

Fatal signal: Segmentation Fault (SDL Parachute Deployed) Xlib: unexpected async reply (sequence 0x84)!

when running from gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1026 (LWP 5220)] 0x0807822f in AdlibSoundDriver::mc_init_stuff (mc=0x8099498, s10=0x80994dc, s11=0x8099500, flags=142 '\216', ie=0x8099979) at sound/adlib.cpp:612 612 s11->s10->unk3 = 0;

and a backtrace: #0 0x0807822f in AdlibSoundDriver::mc_init_stuff (mc=0x8099498, s10=0x80994dc, s11=0x8099500, flags=142 '\216', ie=0x8099979) at sound/adlib.cpp:612 #1 0x0807890d in AdlibSoundDriver::mc_key_on (this=0x80993e0, mc2=0x8099498, note=71 'G', velocity=82 'R') at sound/adlib.cpp:740 #2 0x08078a17 in AdlibSoundDriver::part_key_on (this=0x80993e0, part=0x8098aa8, note=71 'G', velocity=82 'R') at sound/adlib.cpp:771 #3 0x080753b2 in Part::key_on (this=0x8098aa8, note=71 'G', velocity=82 'R') at sound/imuse.cpp:2215 #4 0x08073f38 in Player::key_on (this=0x8098110, chan=2 '\002', note=71 'G', velocity=82 'R') at sound/imuse.cpp:1530 #5 0x08072fc7 in Player::parse_midi (this=0x8098110, s=0x80fe0bd "\n\222J@\t\222=<\017\222>\036\016\222@\021\n\222L\020\005\2225\020\t\2224\020\n\2226\020\t\2227\020\005\2228\020\n\2229\020\t\222:\020\005\222F\020\005\222;\020\005\222<\020\030\2024") at sound/imuse.cpp:1127 #6 0x080716cd in Player::sequencer_timer (this=0x8098110) at sound/imuse.cpp:338 #7 0x080715b5 in SoundEngine::sequencer_timers (this=0x8098000) at sound/imuse.cpp:306 #8 0x08071545 in SoundEngine::on_timer (this=0x8098000) at sound/imuse.cpp:292 #9 0x08077bd8 in AdlibSoundDriver::generate_samples (this=0x80993e0, data=0x80c24f0, len=2048) at sound/adlib.cpp:399 #10 0x08060e72 in Scumm::mixWaves (this=0x8094400, sounds=0x80c24f0, len=2048) at sound.cpp:470 #11 0x08064c2d in fill_sound (userdata=0x80831f0, stream=0x80c24f0 "\200\003*\004

Ticket imported from: #488389. Ticket imported from: bugs/45.

Change History (3)

comment:1 by SF/strigeus, 19 years ago

it's fixed now, if not, reopen

comment:2 by SF/strigeus, 19 years ago

Resolution: fixed
Status: newclosed

comment:3 by Kirben, 11 years ago

Component: Engine: SCUMM
Game: Monkey Island 2
Note: See TracTickets for help on using tickets.