Ticket #1465: samnmax_midi.txt

File samnmax_midi.txt, 30.8 KB (added by Kirben, 16 years ago)

Valgrind log of midi parser

Line 
1==11402== Thread 3:
2==11402== Invalid read of size 1
3==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
4==11402== by 0x81E83CC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:68)
5==11402== by 0x81E77F8: MidiParser::onTimer() (midiparser.cpp:226)
6==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
7==11402== Address 0x26F26F7 is 6103 bytes inside a block of size 31909 free'd==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
8==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
9==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
10==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
11==11402==
12==11402== Thread 3:
13==11402== Invalid read of size 1
14==11402== at 0x81E83DC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:76)
15==11402== by 0x81E77F8: MidiParser::onTimer() (midiparser.cpp:226)
16==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
17==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
18==11402== Address 0x26F26F8 is 6104 bytes inside a block of size 31909 free'd==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
19==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
20==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
21==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
22==11402==
23==11402== Thread 3:
24==11402== Invalid read of size 1
25==11402== at 0x81E83F5: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:77)
26==11402== by 0x81E77F8: MidiParser::onTimer() (midiparser.cpp:226)
27==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
28==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
29==11402== Address 0x26F26F8 is 6104 bytes inside a block of size 31909 free'd==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
30==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
31==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
32==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
33==11402==
34==11402== Thread 3:
35==11402== Invalid read of size 1
36==11402== at 0x81E84BB: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:92)
37==11402== by 0x81E77F8: MidiParser::onTimer() (midiparser.cpp:226)
38==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
39==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
40==11402== Address 0x26F26F9 is 6105 bytes inside a block of size 31909 free'd==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
41==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
42==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
43==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
44==11402==
45==11402== Thread 3:
46==11402== Invalid read of size 1
47==11402== at 0x81E84D2: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:93)
48==11402== by 0x81E77F8: MidiParser::onTimer() (midiparser.cpp:226)
49==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
50==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
51==11402== Address 0x26F26FA is 6106 bytes inside a block of size 31909 free'd==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
52==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
53==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
54==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
55==11402==
56==11402== Thread 3:
57==11402== Invalid read of size 1
58==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
59==11402== by 0x81E85BD: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:116)
60==11402== by 0x81E77F8: MidiParser::onTimer() (midiparser.cpp:226)
61==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
62==11402== Address 0x26EBBFF is 4851 bytes inside a block of size 6152 free'd
63==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
64==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
65==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
66==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
67==11402==
68==11402== Thread 3:
69==11402== Invalid read of size 1
70==11402== at 0x80B5357: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:356)
71==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
72==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
73==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
74==11402== Address 0x26EBC00 is 4852 bytes inside a block of size 6152 free'd
75==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
76==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
77==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
78==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
79==11402==
80==11402== Thread 3:
81==11402== Invalid read of size 1
82==11402== at 0x80B5460: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:395)
83==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
84==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
85==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
86==11402== Address 0x26EBC01 is 4853 bytes inside a block of size 6152 free'd
87==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
88==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
89==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
90==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
91==11402==
92==11402== Thread 3:
93==11402== Invalid read of size 1
94==11402== at 0x80B5729: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
95==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
96==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
97==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
98==11402== Address 0x26EBC07 is 4859 bytes inside a block of size 6152 free'd
99==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
100==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
101==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
102==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
103==11402==
104==11402== Thread 3:
105==11402== Invalid read of size 1
106==11402== at 0x80B5749: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
107==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
108==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
109==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
110==11402== Address 0x26EBC08 is 4860 bytes inside a block of size 6152 free'd
111==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
112==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
113==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
114==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
115==11402==
116==11402== Thread 3:
117==11402== Invalid read of size 1
118==11402== at 0x806850F: READ_BE_UINT16(void const*) (scummsys.h:386)
119==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
120==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
121==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
122==11402== Address 0x26EBC04 is 4856 bytes inside a block of size 6152 free'd
123==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
124==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
125==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
126==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
127==11402==
128==11402== Thread 3:
129==11402== Invalid read of size 1
130==11402== at 0x806851B: READ_BE_UINT16(void const*) (scummsys.h:386)
131==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
132==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
133==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
134==11402== Address 0x26EBC05 is 4857 bytes inside a block of size 6152 free'd
135==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
136==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
137==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
138==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
139==11402==
140==11402== Thread 3:
141==11402== Invalid read of size 1
142==11402== at 0x80B5772: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
143==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
144==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
145==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
146==11402== Address 0x26EBC06 is 4858 bytes inside a block of size 6152 free'd
147==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
148==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
149==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
150==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
151==11402==
152==11402== Thread 3:
153==11402== Invalid read of size 1
154==11402== at 0x80B5780: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
155==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
156==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
157==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
158==11402== Address 0x26EBC03 is 4855 bytes inside a block of size 6152 free'd
159==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
160==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
161==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
162==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
163==11402==
164==11402== Thread 3:
165==11402== Invalid read of size 1
166==11402== at 0x80B5788: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
167==11402== by 0x81E756D: MidiParser::onTimer() (midiparser.cpp:190)
168==11402== by 0x80B6986: Scumm::Player::onTimer() (imuse_player.cpp:984)
169==11402== by 0x80AFF3D: Scumm::IMuseInternal::sequencer_timers(MidiDriver*) (imuse.cpp:350)
170==11402== Address 0x26EBC02 is 4854 bytes inside a block of size 6152 free'd
171==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
172==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
173==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
174==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
175==11402==
176==11402== Thread 3:
177==11402== Invalid read of size 1
178==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
179==11402== by 0x81E83CC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:68)
180==11402== by 0x81E7DA5: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:326)
181==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
182==11402== Address 0x26EB0B0 is 1956 bytes inside a block of size 6152 free'd
183==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
184==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
185==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
186==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
187==11402==
188==11402== Thread 3:
189==11402== Invalid read of size 1
190==11402== at 0x81E83DC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:76)
191==11402== by 0x81E7DA5: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:326)
192==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
193==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
194==11402== Address 0x26EB0B1 is 1957 bytes inside a block of size 6152 free'd
195==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
196==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
197==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
198==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
199==11402==
200==11402== Thread 3:
201==11402== Invalid read of size 1
202==11402== at 0x81E83F5: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:77)
203==11402== by 0x81E7DA5: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:326)
204==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
205==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
206==11402== Address 0x26EB0B1 is 1957 bytes inside a block of size 6152 free'd
207==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
208==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
209==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
210==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
211==11402==
212==11402== Thread 3:
213==11402== Invalid read of size 1
214==11402== at 0x81E85F9: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:122)
215==11402== by 0x81E7DA5: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:326)
216==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
217==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
218==11402== Address 0x26EB0B2 is 1958 bytes inside a block of size 6152 free'd
219==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
220==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
221==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
222==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
223==11402==
224==11402== Thread 3:
225==11402== Invalid read of size 1
226==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
227==11402== by 0x81E8617: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:123)
228==11402== by 0x81E7DA5: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:326)
229==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
230==11402== Address 0x26EB0B3 is 1959 bytes inside a block of size 6152 free'd
231==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
232==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
233==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
234==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
235==11402==
236==11402== Thread 3:
237==11402== Invalid read of size 1
238==11402== at 0x81E7EDB: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:348)
239==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
240==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
241==11402== by 0x80B5793: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
242==11402== Address 0x26EB0B4 is 1960 bytes inside a block of size 6152 free'd
243==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
244==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
245==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
246==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
247==11402==
248==11402== Thread 3:
249==11402== Invalid read of size 1
250==11402== at 0x81E7EEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:348)
251==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
252==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
253==11402== by 0x80B5793: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
254==11402== Address 0x26EB0B5 is 1961 bytes inside a block of size 6152 free'd
255==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
256==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
257==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
258==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
259==11402==
260==11402== Thread 3:
261==11402== Invalid read of size 1
262==11402== at 0x81E7EFB: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:348)
263==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
264==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
265==11402== by 0x80B5793: Scumm::Player::sysEx(unsigned char*, unsigned short) (imuse_player.cpp:453)
266==11402== Address 0x26EB0B6 is 1962 bytes inside a block of size 6152 free'd
267==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
268==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
269==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
270==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
271==11402==
272==11402== Thread 3:
273==11402== Invalid read of size 1
274==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
275==11402== by 0x81E83CC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:68)
276==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
277==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
278==11402== Address 0x26EB0B7 is 1963 bytes inside a block of size 6152 free'd
279==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
280==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
281==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
282==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
283==11402==
284==11402== Thread 3:
285==11402== Invalid read of size 1
286==11402== at 0x81E83DC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:76)
287==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
288==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
289==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
290==11402== Address 0x26EB0B8 is 1964 bytes inside a block of size 6152 free'd
291==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
292==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
293==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
294==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
295==11402==
296==11402== Thread 3:
297==11402== Invalid read of size 1
298==11402== at 0x81E83F5: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:77)
299==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
300==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
301==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
302==11402== Address 0x26EB0B8 is 1964 bytes inside a block of size 6152 free'd
303==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
304==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
305==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
306==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
307==11402==
308==11402== Thread 3:
309==11402== Invalid read of size 1
310==11402== at 0x81E84BB: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:92)
311==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
312==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
313==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
314==11402== Address 0x26EB0B9 is 1965 bytes inside a block of size 6152 free'd
315==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
316==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
317==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
318==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
319==11402==
320==11402== Thread 3:
321==11402== Invalid read of size 1
322==11402== at 0x81E84D2: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:93)
323==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
324==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
325==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
326==11402== Address 0x26EB0BA is 1966 bytes inside a block of size 6152 free'd
327==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
328==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
329==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
330==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
331==11402==
332==11402== Thread 3:
333==11402== Invalid read of size 1
334==11402== at 0x81E85F9: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:122)
335==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
336==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
337==11402== by 0x80B5D42: Scumm::Player::maybe_jump(unsigned char, unsigned, unsigned, unsigned) (imuse_player.cpp:576)
338==11402== Address 0x26EB0C6 is 1978 bytes inside a block of size 6152 free'd
339==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
340==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
341==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
342==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
343==11402==
344==11402== Thread 3:
345==11402== Invalid read of size 1
346==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
347==11402== by 0x81E8617: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:123)
348==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
349==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
350==11402== Address 0x26EB0C7 is 1979 bytes inside a block of size 6152 free'd
351==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
352==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
353==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
354==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
355==11402==
356==11402== Thread 3:
357==11402== Invalid read of size 1
358==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
359==11402== by 0x81E85BD: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:116)
360==11402== by 0x81E7FEA: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:359)
361==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
362==11402== Address 0x26EB1D1 is 2245 bytes inside a block of size 6152 free'd
363==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
364==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
365==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
366==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
367==11402==
368==11402== Thread 3:
369==11402== Invalid read of size 1
370==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
371==11402== by 0x81E83CC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:68)
372==11402== by 0x81E7B17: MidiParser::hangAllActiveNotes() (midiparser.cpp:295)==11402== by 0x81E808A: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:371)
373==11402== Address 0x26EBD01 is 5109 bytes inside a block of size 6152 free'd
374==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
375==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
376==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
377==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
378==11402==
379==11402== Thread 3:
380==11402== Invalid read of size 1
381==11402== at 0x81E83DC: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:76)
382==11402== by 0x81E7B17: MidiParser::hangAllActiveNotes() (midiparser.cpp:295)==11402== by 0x81E808A: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:371)
383==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
384==11402== Address 0x26EBD02 is 5110 bytes inside a block of size 6152 free'd
385==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
386==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
387==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
388==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
389==11402==
390==11402== Thread 3:
391==11402== Invalid read of size 1
392==11402== at 0x81E83F5: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:77)
393==11402== by 0x81E7B17: MidiParser::hangAllActiveNotes() (midiparser.cpp:295)==11402== by 0x81E808A: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:371)
394==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
395==11402== Address 0x26EBD02 is 5110 bytes inside a block of size 6152 free'd
396==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
397==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
398==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
399==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
400==11402==
401==11402== Thread 3:
402==11402== Invalid read of size 1
403==11402== at 0x81E85F9: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:122)
404==11402== by 0x81E7B17: MidiParser::hangAllActiveNotes() (midiparser.cpp:295)==11402== by 0x81E808A: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:371)
405==11402== by 0x80B6114: Scumm::Player::jump(unsigned, unsigned, unsigned) (imuse_player.cpp:721)
406==11402== Address 0x26EBD03 is 5111 bytes inside a block of size 6152 free'd
407==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
408==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
409==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
410==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
411==11402==
412==11402== Thread 3:
413==11402== Invalid read of size 1
414==11402== at 0x81E7135: MidiParser::readVLQ(unsigned char*&) (midiparser.cpp:72)
415==11402== by 0x81E8617: MidiParser_SMF::parseNextEvent(EventInfo&) (midiparser_smf.cpp:123)
416==11402== by 0x81E7B17: MidiParser::hangAllActiveNotes() (midiparser.cpp:295)==11402== by 0x81E808A: MidiParser::jumpToTick(unsigned, bool) (midiparser.cpp:371)
417==11402== Address 0x26EBD04 is 5112 bytes inside a block of size 6152 free'd
418==11402== at 0xCE393D: free (vg_replace_malloc.c:231)
419==11402== by 0x80D4A70: Scumm::ScummEngine::nukeResource(int, int) (resource.cpp:1814)
420==11402== by 0x80D9647: Scumm::ScummEngine::saveOrLoad(Scumm::Serializer*, unsigned) (saveload.cpp:668)
421==11402== by 0x80D88E3: Scumm::ScummEngine::loadState(int, bool, SaveFileManager*) (saveload.cpp:174)
422