Ticket #9653: fullpipe-demo-crash-valgrind.txt

File fullpipe-demo-crash-valgrind.txt, 17.3 KB (added by criezy, 2 years ago)

Valgrind errors when reproducing the crash during fullpipe start

Line 
1==56142== Thread 7:
2==56142== Conditional jump or move depends on uninitialised value(s)
3==56142==    at 0x101970B10: int MIN<int>(int, int) (util.h:46)
4==56142==    by 0x101B7BDAA: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:310)
5==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
6==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
7==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
8==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
9==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
10==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
11==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
12==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
13==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
14==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
15==56142==
16==56142== Conditional jump or move depends on uninitialised value(s)
17==56142==    at 0x101B7BDB4: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:311)
18==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
19==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
20==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
21==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
22==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
23==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
24==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
25==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
26==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
27==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
28==56142==    by 0x2C07FC8: thread_start (in /usr/lib/system/libsystem_pthread.dylib)
29==56142==
30==56142== Conditional jump or move depends on uninitialised value(s)
31==56142==    at 0x101B7BEBD: Audio::scaleSample(int) (mp3.cpp:297)
32==56142==    by 0x101B7BDCE: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:312)
33==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
34==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
35==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
36==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
37==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
38==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
39==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
40==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
41==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
42==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
43==56142==
44==56142== Conditional jump or move depends on uninitialised value(s)
45==56142==    at 0x101B7BED6: Audio::scaleSample(int) (mp3.cpp:299)
46==56142==    by 0x101B7BDCE: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:312)
47==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
48==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
49==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
50==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
51==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
52==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
53==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
54==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
55==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
56==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
57==56142==
58==56142== Conditional jump or move depends on uninitialised value(s)
59==56142==    at 0x101B7BE1B: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:314)
60==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
61==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
62==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
63==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
64==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
65==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
66==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
67==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
68==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
69==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
70==56142==    by 0x2C07FC8: thread_start (in /usr/lib/system/libsystem_pthread.dylib)
71==56142==
72==56142== Conditional jump or move depends on uninitialised value(s)
73==56142==    at 0x101B7BEBD: Audio::scaleSample(int) (mp3.cpp:297)
74==56142==    by 0x101B7BE35: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:315)
75==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
76==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
77==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
78==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
79==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
80==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
81==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
82==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
83==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
84==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
85==56142==
86==56142== Conditional jump or move depends on uninitialised value(s)
87==56142==    at 0x101B7BED6: Audio::scaleSample(int) (mp3.cpp:299)
88==56142==    by 0x101B7BE35: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:315)
89==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
90==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
91==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
92==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
93==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
94==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
95==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
96==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
97==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
98==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
99==56142==
100==56142== Conditional jump or move depends on uninitialised value(s)
101==56142==    at 0x101B7BE7E: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:320)
102==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
103==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
104==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
105==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
106==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
107==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
108==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
109==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
110==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
111==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
112==56142==    by 0x2C07FC8: thread_start (in /usr/lib/system/libsystem_pthread.dylib)
113==56142==
114==56142== Conditional jump or move depends on uninitialised value(s)
115==56142==    at 0x101B7B7CA: Audio::BaseMP3Stream::decodeMP3Data(Common::ReadStream&) (mp3.cpp:159)
116==56142==    by 0x101B7BE90: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:322)
117==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
118==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
119==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
120==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
121==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
122==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
123==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
124==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
125==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
126==56142==    by 0x2C03729: _pthread_start (in /usr/lib/system/libsystem_pthread.dylib)
127==56142==
128==56142== Conditional jump or move depends on uninitialised value(s)
129==56142==    at 0x49987F: mad_frame_decode (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libmad.0.2.1.dylib)
130==56142==    by 0x101B7B81C: Audio::BaseMP3Stream::decodeMP3Data(Common::ReadStream&) (mp3.cpp:166)
131==56142==    by 0x101B7BE90: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:322)
132==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
133==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
134==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
135==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
136==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
137==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
138==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
139==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
140==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
141==56142==
142==56142== Use of uninitialised value of size 8
143==56142==    at 0x4998C9: mad_frame_decode (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libmad.0.2.1.dylib)
144==56142==    by 0x101B7B81C: Audio::BaseMP3Stream::decodeMP3Data(Common::ReadStream&) (mp3.cpp:166)
145==56142==    by 0x101B7BE90: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:322)
146==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
147==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
148==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
149==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
150==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
151==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
152==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
153==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
154==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
155==56142==
156==56142== Invalid read of size 8
157==56142==    at 0x4998C9: mad_frame_decode (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libmad.0.2.1.dylib)
158==56142==    by 0x101B7B81C: Audio::BaseMP3Stream::decodeMP3Data(Common::ReadStream&) (mp3.cpp:166)
159==56142==    by 0x101B7BE90: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:322)
160==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
161==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
162==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
163==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
164==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
165==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
166==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
167==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
168==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)
169==56142==  Address 0x456416c8 is not stack'd, malloc'd or (recently) free'd
170==56142==
171==56142==
172==56142== Process terminating with default action of signal 11 (SIGSEGV)
173==56142==  Access not within mapped region at address 0x456416C8
174==56142==    at 0x4998C9: mad_frame_decode (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libmad.0.2.1.dylib)
175==56142==    by 0x101B7B81C: Audio::BaseMP3Stream::decodeMP3Data(Common::ReadStream&) (mp3.cpp:166)
176==56142==    by 0x101B7BE90: Audio::BaseMP3Stream::fillBuffer(Common::ReadStream&, short*, int) (mp3.cpp:322)
177==56142==    by 0x101B7D15C: Audio::PacketizedMP3Stream::readBuffer(short*, int) (mp3.cpp:469)
178==56142==    by 0x101BD5B45: Audio::CopyRateConverter<true, false>::flow(Audio::AudioStream&, short*, unsigned int, unsigned short, unsigned short) (rate.cpp:315)
179==56142==    by 0x101B6EA92: Audio::Channel::mix(short*, unsigned int) (mixer.cpp:621)
180==56142==    by 0x101B6E8B9: Audio::MixerImpl::mixCallback(unsigned char*, unsigned int) (mixer.cpp:293)
181==56142==    by 0x101A2F843: DoubleBufferSDLMixerManager::mixerProducerThread() (doublebuffersdl-mixer.cpp:78)
182==56142==    by 0x101A2F7C1: DoubleBufferSDLMixerManager::mixerProducerThreadEntry(void*) (doublebuffersdl-mixer.cpp:89)
183==56142==    by 0x322DF6: SDL_RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
184==56142==    by 0x39FEE4: RunThread (in /Users/criezy/Dev/scummvm-releases/libs64/lib/libSDL2-2.0.0.dylib)
185==56142==    by 0x2C03898: _pthread_body (in /usr/lib/system/libsystem_pthread.dylib)