Ticket #203: VALGRIND_LOOM

File VALGRIND_LOOM, 14.5 KB (added by SF/bbrox, 19 years ago)

Valgrind trace of LoomCD

Line 
1==440== valgrind-20020427, a memory error detector for x86 GNU/Linux.
2==440== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
3==440== Startup, with flags:
4==440== --suppressions=/usr/local/lib/valgrind/default.supp
5==440== -v
6==440== --logfile-fd=3
7==440== Reading suppressions file: /usr/local/lib/valgrind/default.supp
8==440== Reading syms from /usr/local/src/SCUMM/scummvm_work/scummvm
9==440== Reading syms from /Packages/glibc_2.1.3/lib/ld-2.1.3.so
10==440== Reading syms from /usr/local/lib/valgrind/valgrind.so
11==440== Reading syms from /usr/local/X11R6_4.2.x_CVS/lib/libXext.so.6.4
12==440== object doesn't have any debug info
13==440== Reading syms from /usr/local/X11R6_4.2.x_CVS/lib/libX11.so.6.2
14==440== object doesn't have any debug info
15==440== Reading syms from /usr/lib/libncurses.so.5.0
16==440== object doesn't have any debug info
17==440== Reading syms from /Packages/glibc_2.1.3/lib/libm-2.1.3.so
18==440== Reading syms from /usr/local/lib/valgrind/libpthread.so
19==440== Reading syms from /Packages/glibc_2.1.3/lib/libc-2.1.3.so
20==440== Reading syms from /Packages/glibc_2.1.3/lib/libdl-2.1.3.so
21==440== object doesn't have any debug info
22==440== Estimated CPU clock rate is 335 MHz
23==440==
24==440== Warning: noted but unhandled __NR_sched_* syscall (158).
25==440== This could cause spurious value errors to appear.
26==440== Invalid read of size 1
27==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
28==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
29==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
30==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
31==440== Address 0x40DE377C is not stack'd, malloc'd or free'd
32==440==
33==440== Invalid read of size 1
34==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
35==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
36==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
37==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
38==440== Address 0x40DE39D6 is not stack'd, malloc'd or free'd
39==440==
40==440== Invalid read of size 1
41==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
42==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
43==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
44==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
45==440== Address 0x40DE36B7 is 12 bytes after a block of size 51 alloc'd
46==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
47==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
48==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
49==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
50==440==
51==440== Conditional jump or move depends on uninitialised value(s)
52==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
53==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
54==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
55==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
56==440==
57==440== Invalid read of size 1
58==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
59==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
60==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
61==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
62==440== Address 0x40DE3668 is 16 bytes before a block of size 51 alloc'd
63==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
64==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
65==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
66==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
67==440==
68==440== Conditional jump or move depends on uninitialised value(s)
69==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
70==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
71==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
72==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
73==440==
74==440== Invalid read of size 1
75==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
76==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
77==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
78==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
79==440== Address 0x40DE3577 is 15 bytes after a block of size 176 free'd
80==440== at 0x4003E486: free (vg_clientfuncs.c:171)
81==440== by 0x4046FAE2: _IO_fclose@@GLIBC_2.1 (in /Packages/glibc_2.1.3/lib/libc-2.1.3.so)
82==440== by <bogus frame pointer> ???
83==440== by <bogus frame pointer> ???
84==440==
85==440== Invalid read of size 1
86==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
87==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
88==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
89==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
90==440== Address 0x40DE3501 is 73 bytes inside a block of size 176 free'd
91==440== at 0x4003E486: free (vg_clientfuncs.c:171)
92==440== by 0x4046FAE2: _IO_fclose@@GLIBC_2.1 (in /Packages/glibc_2.1.3/lib/libc-2.1.3.so)
93==440== by <bogus frame pointer> ???
94==440== by <bogus frame pointer> ???
95==440==
96==440== Invalid read of size 1
97==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
98==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
99==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
100==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
101==440== Address 0x40DE348A is 5 bytes after a block of size 1025 alloc'd
102==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
103==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
104==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
105==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
106==440==
107==440== Invalid read of size 1
108==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
109==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
110==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
111==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
112==440== Address 0x40DE3489 is 4 bytes after a block of size 1025 alloc'd
113==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
114==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
115==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
116==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
117==440==
118==440== More than 30000 total errors detected. I'm not reporting any more.
119==440== Final error counts will be inaccurate. Go fix your program!
120==440==
121==440==
122==440== ERROR SUMMARY: 30000 errors from 10 contexts (suppressed: 0 from 0)
123==440==
124==440== 5 errors in context 1 of 10:
125==440== Invalid read of size 1
126==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
127==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
128==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
129==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
130==440== Address 0x40DE3489 is 4 bytes after a block of size 1025 alloc'd
131==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
132==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
133==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
134==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
135==440==
136==440== 27 errors in context 2 of 10:
137==440== Invalid read of size 1
138==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
139==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
140==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
141==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
142==440== Address 0x40DE3668 is 16 bytes before a block of size 51 alloc'd
143==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
144==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
145==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
146==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
147==440==
148==440== 37 errors in context 3 of 10:
149==440== Invalid read of size 1
150==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
151==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
152==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
153==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
154==440== Address 0x40DE3577 is 15 bytes after a block of size 176 free'd
155==440== at 0x4003E486: free (vg_clientfuncs.c:171)
156==440== by 0x4046FAE2: _IO_fclose@@GLIBC_2.1 (in /Packages/glibc_2.1.3/lib/libc-2.1.3.so)
157==440== by <bogus frame pointer> ???
158==440== by <bogus frame pointer> ???
159==440==
160==440== 54 errors in context 4 of 10:
161==440== Invalid read of size 1
162==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
163==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
164==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
165==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
166==440== Address 0x40DE348A is 5 bytes after a block of size 1025 alloc'd
167==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
168==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
169==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
170==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
171==440==
172==440== 82 errors in context 5 of 10:
173==440== Conditional jump or move depends on uninitialised value(s)
174==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
175==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
176==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
177==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
178==440==
179==440== 402 errors in context 6 of 10:
180==440== Invalid read of size 1
181==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
182==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
183==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
184==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
185==440== Address 0x40DE3501 is 73 bytes inside a block of size 176 free'd
186==440== at 0x4003E486: free (vg_clientfuncs.c:171)
187==440== by 0x4046FAE2: _IO_fclose@@GLIBC_2.1 (in /Packages/glibc_2.1.3/lib/libc-2.1.3.so)
188==440== by <bogus frame pointer> ???
189==440== by <bogus frame pointer> ???
190==440==
191==440== 441 errors in context 7 of 10:
192==440== Invalid read of size 1
193==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
194==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
195==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
196==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
197==440== Address 0x40DE36B7 is 12 bytes after a block of size 51 alloc'd
198==440== at 0x4003E67E: calloc (vg_clientfuncs.c:221)
199==440== by 0x8062F9F: Scumm::alloc(int) (sys.cpp:207)
200==440== by 0x8058DC0: Scumm::createResource(int, int, unsigned long) (resource.cpp:753)
201==440== by 0x805884C: Scumm::loadResource(int, int) (resource.cpp:522)
202==440==
203==440== 577 errors in context 8 of 10:
204==440== Conditional jump or move depends on uninitialised value(s)
205==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
206==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
207==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
208==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
209==440==
210==440== 11127 errors in context 9 of 10:
211==440== Invalid read of size 1
212==440== at 0x80501EC: CostumeRenderer::proc5(void) (costume.cpp:409)
213==440== by 0x8050049: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:311)
214==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
215==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
216==440== Address 0x40DE39D6 is not stack'd, malloc'd or free'd
217==440==
218==440== 17248 errors in context 10 of 10:
219==440== Invalid read of size 1
220==440== at 0x8054986: Scumm::isMaskActiveAt(int, int, int, int, unsigned char *) (gfx.cpp:2297)
221==440== by 0x804FF70: CostumeRenderer::mainRoutine(Actor *, int, int) (costume.cpp:288)
222==440== by 0x80509CF: CostumeRenderer::drawOneSlot(Actor *, int) (costume.cpp:861)
223==440== by 0x8050A0E: CostumeRenderer::drawCostume(Actor *) (costume.cpp:876)
224==440== Address 0x40DE377C is not stack'd, malloc'd or free'd
225==440== IN SUMMARY: 30000 errors from 10 contexts (suppressed: 0 from 0)
226==440==
227==440== malloc/free: in use at exit: 688577 bytes in 262 blocks.
228==440== malloc/free: 563 allocs, 301 frees, 3113160 bytes allocated.
229==440== For a detailed leak analysis, rerun with: --leak-check=yes
230==440==
231--440-- lru: 23025 epochs, 0 clearings.
232--440-- translate: new 8230 (128216 -> 1749235), discard 0 (0 -> 0).
233--440-- dispatch: 460512467 basic blocks, 34872/1029953 sched events, 161210 tt_fast misses.
234--440-- reg-alloc: 1724 t-req-spill, 320099+13555 orig+spill uis, 40289 total-reg-r.
235--440-- smc-check: 0 checks, 0 fast pass, 0 slow pass, 0 discards.
236--440-- sanity: 1 cheap, 1 expensive checks.