1 | Reading symbols from ./scummvm...
|
---|
2 | (gdb) run monkey-mac
|
---|
3 | Starting program: /home/user/git/scummvm/scummvm monkey-mac
|
---|
4 | [Thread debugging using libthread_db enabled]
|
---|
5 | Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1".
|
---|
6 | [New Thread 0x983ce340 (LWP 1227)]
|
---|
7 | [New Thread 0x97b6f340 (LWP 1228)]
|
---|
8 | [New Thread 0x779ff340 (LWP 1229)]
|
---|
9 | [New Thread 0x76fff340 (LWP 1230)]
|
---|
10 |
|
---|
11 | Thread 4 "SDLAudioP1" received signal SIGSEGV, Segmentation fault.
|
---|
12 | [Switching to Thread 0x779ff340 (LWP 1229)]
|
---|
13 | 0x006853c8 in Scumm::Player_Mac::Instrument::generateSamples (this=0x184cc08, data=0x13bc0fc, pitchModifier=0, volume=48, numSamples=512,
|
---|
14 | remainingSamplesOnNote=488889, fadeNoteEnds=false) at engines/scumm/players/player_mac.cpp:390
|
---|
15 | 390 int newSample = (((int16)((_data[_pos] << 8) ^ 0x8000)) * volume) / 255;
|
---|
16 | (gdb) bt
|
---|
17 | #0 0x006853c8 in Scumm::Player_Mac::Instrument::generateSamples(short*, int, int, int, int, bool)
|
---|
18 | (this=0x184cc08, data=0x13bc0fc, pitchModifier=0, volume=48, numSamples=512, remainingSamplesOnNote=488889, fadeNoteEnds=false)
|
---|
19 | at engines/scumm/players/player_mac.cpp:390
|
---|
20 | #1 0x006851f0 in Scumm::Player_Mac::readBuffer(short*, int) (this=0x13765b0, data=0x13bc0fc, numSamples=512) at engines/scumm/players/player_mac.cpp:359
|
---|
21 | #2 0x00b056cc in Audio::RateConverter_Impl<false, true, false>::copyConvert(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short)
|
---|
22 | (this=0x13bc0f0, input=..., outBuffer=0x10914c0, numSamples=1024, volL=256, volR=256) at audio/rate.cpp:109
|
---|
23 | #3 0x00b0446c in Audio::RateConverter_Impl<false, true, false>::convert(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short)
|
---|
24 | (this=0x13bc0f0, input=..., outBuffer=0x10914c0, numSamples=1024, volL=256, volR=256) at audio/rate.cpp:290
|
---|
25 | #4 0x00b01468 in Audio::Channel::mix(short*, unsigned int) (this=0x13d6380, data=0x10914c0, len=1024) at audio/mixer.cpp:719
|
---|
26 | #5 0x00afea30 in Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (this=0x1063aa0, samples=0x10914c0 "", len=1024) at audio/mixer.cpp:331
|
---|
27 | #6 0x00848614 in SdlMixerManager::callbackHandler(unsigned char*, int) (this=0x1060870, samples=0x10914c0 "", len=4096)
|
---|
28 | at backends/mixer/sdl/sdl-mixer.cpp:205
|
---|
29 | #7 0x008486b4 in SdlMixerManager::sdlCallback(void*, unsigned char*, int) (this_=0x1060870, samples=0x10914c0 "", len=4096)
|
---|
30 | at backends/mixer/sdl/sdl-mixer.cpp:212
|
---|
31 | #8 0x001f1954 in () at /lib/powerpc-linux-gnu/libSDL2-2.0.so.0
|
---|
32 | #9 0x0028d00c in () at /lib/powerpc-linux-gnu/libSDL2-2.0.so.0
|
---|
33 | #10 0x00341ba4 in () at /lib/powerpc-linux-gnu/libSDL2-2.0.so.0
|
---|
34 | #11 0xa7610964 in start_thread (arg=0x779ff340) at pthread_create.c:442
|
---|
35 | #12 0xa76ace18 in clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S:78
|
---|
36 |
|
---|
37 | (gdb) bt full
|
---|
38 | #0 0x006853c8 in Scumm::Player_Mac::Instrument::generateSamples(short*, int, int, int, int, bool)
|
---|
39 | (this=0x184cc08, data=0x13bc0fc, pitchModifier=0, volume=48, numSamples=512, remainingSamplesOnNote=488889, fadeNoteEnds=false)
|
---|
40 | at engines/scumm/players/player_mac.cpp:390
|
---|
41 | newSample = 26187296
|
---|
42 | sample = 2006968832
|
---|
43 | samplesLeft = 512
|
---|
44 | #1 0x006851f0 in Scumm::Player_Mac::readBuffer(short*, int) (this=0x13765b0, data=0x13bc0fc, numSamples=512) at engines/scumm/players/player_mac.cpp:359
|
---|
45 | generated = 512
|
---|
46 | samplesLeft = 512
|
---|
47 | ptr = 0x13bc0fc
|
---|
48 | i = 0
|
---|
49 | lock = {
|
---|
50 | _mutex = 0x13b8f80,
|
---|
51 | _mutexName = 0x0
|
---|
52 | }
|
---|
53 | notesLeft = false
|
---|
54 | #2 0x00b056cc in Audio::RateConverter_Impl<false, true, false>::copyConvert(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short)
|
---|
55 | (this=0x13bc0f0, input=..., outBuffer=0x10914c0, numSamples=1024, volL=256, volR=256) at audio/rate.cpp:109
|
---|
56 | inL = 10108
|
---|
57 | inR = 30623
|
---|
58 | outL = -5472
|
---|
59 | outR = 52
|
---|
60 | outStart = 0x10914c0
|
---|
61 | outEnd = 0x10924c0
|
---|
62 | #3 0x00b0446c in Audio::RateConverter_Impl<false, true, false>::convert(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short)
|
---|
63 | (this=0x13bc0f0, input=..., outBuffer=0x10914c0, numSamples=1024, volL=256, volR=256) at audio/rate.cpp:290
|
---|
64 | __PRETTY_FUNCTION__ = "int Audio::RateConverter_Impl<inStereo, outStereo, reverseStereo>::convert(Audio::AudioStream&, Audio::st_sample_t*, Audio::st_size_t, Audio::st_volume_t, Audio::st_volume_t) [with bool inStereo = fal"...
|
---|
65 | #4 0x00b01468 in Audio::Channel::mix(short*, unsigned int) (this=0x13d6380, data=0x10914c0, len=1024) at audio/mixer.cpp:719
|
---|
66 | __PRETTY_FUNCTION__ = "int Audio::Channel::mix(int16*, uint)"
|
---|
67 | res = 0
|
---|
68 | #5 0x00afea30 in Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (this=0x1063aa0, samples=0x10914c0 "", len=1024) at audio/mixer.cpp:331
|
---|
69 | i = 0
|
---|
70 | __PRETTY_FUNCTION__ = "int Audio::MixerImpl::mixCallback(byte*, uint)"
|
---|
71 | lock = {
|
---|
72 | _mutex = 0x1046c80,
|
---|
73 | _mutexName = 0x0
|
---|
74 | }
|
---|
75 | buf = 0x10914c0
|
---|
76 | res = 0
|
---|
77 | tmp = -1487836236
|
---|
78 | #6 0x00848614 in SdlMixerManager::callbackHandler(unsigned char*, int) (this=0x1060870, samples=0x10914c0 "", len=4096)
|
---|
79 | at backends/mixer/sdl/sdl-mixer.cpp:205
|
---|
80 | __PRETTY_FUNCTION__ = "virtual void SdlMixerManager::callbackHandler(byte*, int)"
|
---|
81 | #7 0x008486b4 in SdlMixerManager::sdlCallback(void*, unsigned char*, int) (this_=0x1060870, samples=0x10914c0 "", len=4096)
|
---|
82 | at backends/mixer/sdl/sdl-mixer.cpp:212
|
---|
83 | manager = 0x1060870
|
---|
84 | __PRETTY_FUNCTION__ = "static void SdlMixerManager::sdlCallback(void*, byte*, int)"
|
---|
85 | #8 0x001f1954 in () at /lib/powerpc-linux-gnu/libSDL2-2.0.so.0
|
---|
86 | #9 0x0028d00c in () at /lib/powerpc-linux-gnu/libSDL2-2.0.so.0
|
---|
87 | #10 0x00341ba4 in () at /lib/powerpc-linux-gnu/libSDL2-2.0.so.0
|
---|
88 | #11 0xa7610964 in start_thread (arg=0x779ff340) at pthread_create.c:442
|
---|
89 | ret = <optimized out>
|
---|
90 | pd = 0x779ff340
|
---|
91 | unwind_buf = {
|
---|
92 | cancel_jmp_buf = {{
|
---|
93 | jmp_buf = {-83212589, 0, 737452671, 0, 2006971296, 1998581760, 2006972480, 0, -1476396736, 0, 0, 1998581760, 17548720, -1342186489, 1998581760, 8388224, -1342186490, 4001536, 2006971200, -1485176844, 2006969424, -2113780696, 0 <repeats 40 times>, -1, 0 <repeats 49 times>},
|
---|
94 | mask_was_saved = 0
|
---|
95 | }},
|
---|
96 | priv = {
|
---|
97 | pad = {0x0, 0x0, 0x0, 0x0},
|
---|
98 | data = {
|
---|
99 | prev = 0x0,
|
---|
100 | cleanup = 0x0,
|
---|
101 | canceltype = 0
|
---|
102 | }
|
---|
103 | }
|
---|
104 | }
|
---|
105 | not_first_call = 0
|
---|
106 | #12 0xa76ace18 in clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S:78
|
---|