component: Engine: SCUMM | priority: normal | resolution: fixed
2001-12-03 13:25:44: SF/khalek_ created the issue
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
Issue migrated from trac ticket # 45
component: Engine: SCUMM | priority: normal | resolution: fixed
2001-12-03 13:25:44: SF/khalek_ created the issue