Ticket #2455: gob1.txt

File gob1.txt, 14.3 KB (added by Kirben, 18 years ago)

Valgrind log

Line 
1==2073== Memcheck, a memory error detector.
2==2073== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
3==2073== Using LibVEX rev 1471, a library for dynamic binary translation.
4==2073== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
5==2073== Using valgrind-3.1.0, a dynamic binary instrumentation framework.
6==2073== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
7==2073== For more details, rerun with: -v
8==2073==
9--2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50
10--2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50
11--2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50
12--2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50
13ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device or address
14ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
15ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device or address
16ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
17ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device or address
18ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: No such device or address
19ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default
20ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device or address
21ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
22ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device or address
23ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
24ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device or address
25ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: No such device or address
26ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default
27==2130== Invalid free() / delete / delete[]
28==2130== at 0x401BF6C: free (vg_replace_malloc.c:235)
29==2130== by 0x43F1F4B: free_mem (in /lib/tls/libc-2.3.5.so)
30==2130== by 0x43F1A14: __libc_freeres (in /lib/tls/libc-2.3.5.so)
31==2130== by 0x401738C: _vgw_freeres (vg_preloaded.c:62)
32==2130== by 0x41F0C92: esd_open_sound (in /usr/lib/libesd.so.0.2.36)
33==2130== by 0x417E970: (within /usr/lib/libSDL-1.2.so.0.7.2)
34==2130== by 0x41783F2: SDL_AudioInit (in /usr/lib/libSDL-1.2.so.0.7.2)
35==2130== by 0x417724A: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.2)
36==2130== by 0x41772C6: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.2)
37==2130== by 0x8050F32: OSystem_SDL::initBackend() (sdl.cpp:57)
38==2130== by 0x805998A: main (main.cpp:435)
39==2130== Address 0x42F48A0 is not stack'd, malloc'd or (recently) free'd
40==2130==
41==2130== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 92 from 3)
42==2130== malloc/free: in use at exit: 376,962 bytes in 10,426 blocks.
43==2130== malloc/free: 14,887 allocs, 4,462 frees, 756,134 bytes allocated.
44==2130== For counts of detected errors, rerun with: -v
45==2130== searching for pointers to 10,426 not-freed blocks.
46==2130== checked 1,431,840 bytes.
47==2130==
48==2130== LEAK SUMMARY:
49==2130== definitely lost: 13,114 bytes in 427 blocks.
50==2130== possibly lost: 22,548 bytes in 407 blocks.
51==2130== still reachable: 341,300 bytes in 9,592 blocks.
52==2130== suppressed: 0 bytes in 0 blocks.
53==2130== Use --leak-check=full to see details of leaked memory.
54Looking for gob1
55Trying to start game 'Gobliiins'
56WARNING: Could not open audio device: No available audio device!
57WARNING: Sound initialization failed.!
58WARNING: Couldn't open drive: Invalid CD-ROM drive index!
59WARNING: STUB: Video::initDriver!
60==2073== Invalid read of size 1
61==2073== at 0x82C8712: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:364)
62==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
63==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
64==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
65==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
66==2073== by 0x8059AC3: main (main.cpp:461)
67==2073== Address 0x46D88C4 is 0 bytes after a block of size 2,748 alloc'd
68==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
69==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
70==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
71==2073== by 0x8059AC3: main (main.cpp:461)
72==2073==
73==2073== Invalid read of size 1
74==2073== at 0x82C86C9: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:362)
75==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
76==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
77==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
78==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
79==2073== by 0x8059AC3: main (main.cpp:461)
80==2073== Address 0x46D88C5 is 1 bytes after a block of size 2,748 alloc'd
81==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
82==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
83==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
84==2073== by 0x8059AC3: main (main.cpp:461)
85==2073==
86==2073== Invalid read of size 1
87==2073== at 0x82C86ED: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:363)
88==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
89==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
90==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
91==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
92==2073== by 0x8059AC3: main (main.cpp:461)
93==2073== Address 0x46D88C6 is 2 bytes after a block of size 2,748 alloc'd
94==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
95==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
96==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
97==2073== by 0x8059AC3: main (main.cpp:461)
98==2073==
99==2073== Invalid read of size 1
100==2073== at 0x82C87C3: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:370)
101==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
102==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
103==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
104==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
105==2073== by 0x8059AC3: main (main.cpp:461)
106==2073== Address 0x46D88C4 is 0 bytes after a block of size 2,748 alloc'd
107==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
108==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
109==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
110==2073== by 0x8059AC3: main (main.cpp:461)
111==2073==
112==2073== Invalid read of size 1
113==2073== at 0x82C87E0: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:370)
114==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
115==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
116==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
117==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
118==2073== by 0x8059AC3: main (main.cpp:461)
119==2073== Address 0x46D88C4 is 0 bytes after a block of size 2,748 alloc'd
120==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
121==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
122==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
123==2073== by 0x8059AC3: main (main.cpp:461)
124==2073==
125==2073== Invalid read of size 1
126==2073== at 0x82C8749: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:368)
127==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
128==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
129==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
130==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
131==2073== by 0x8059AC3: main (main.cpp:461)
132==2073== Address 0x46D88C5 is 1 bytes after a block of size 2,748 alloc'd
133==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
134==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
135==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
136==2073== by 0x8059AC3: main (main.cpp:461)
137==2073==
138==2073== Invalid read of size 1
139==2073== at 0x82C8765: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:368)
140==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
141==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
142==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
143==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
144==2073== by 0x8059AC3: main (main.cpp:461)
145==2073== Address 0x46D88C5 is 1 bytes after a block of size 2,748 alloc'd
146==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
147==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
148==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
149==2073== by 0x8059AC3: main (main.cpp:461)
150==2073==
151==2073== Invalid read of size 1
152==2073== at 0x82C8785: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:369)
153==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
154==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
155==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
156==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
157==2073== by 0x8059AC3: main (main.cpp:461)
158==2073== Address 0x46D88C6 is 2 bytes after a block of size 2,748 alloc'd
159==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
160==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
161==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
162==2073== by 0x8059AC3: main (main.cpp:461)
163==2073==
164==2073== Invalid read of size 1
165==2073== at 0x82C87A2: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:369)
166==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410)
167==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167)
168==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267)
169==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310)
170==2073== by 0x8059AC3: main (main.cpp:461)
171==2073== Address 0x46D88C6 is 2 bytes after a block of size 2,748 alloc'd
172==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164)
173==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280)
174==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306)
175==2073== by 0x8059AC3: main (main.cpp:461)
176WARNING: inter_palLoad: cmd == 49 is not supported!
177==2073==
178==2073== Conditional jump or move depends on uninitialised value(s)
179==2073== at 0x41ACAEB: X11_SetKeyboardState (in /usr/lib/libSDL-1.2.so.0.7.2)==2073== by 0x41ABDD1: (within /usr/lib/libSDL-1.2.so.0.7.2)
180==2073== by 0x41AC06D: X11_PumpEvents (in /usr/lib/libSDL-1.2.so.0.7.2)
181==2073== by 0x41BD632: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.7.2)
182==2073== by 0x41BD678: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.7.2)
183==2073== by 0x804BDEC: OSystem_SDL::pollEvent(OSystem::Event&) (events.cpp:190)
184==2073== by 0x82C6BAD: Gob::Util::processInput() (util.cpp:139)
185==2073== by 0x82BD229: Gob::Mult::playMult(short, short, char, char) (mult.cpp:933)
186==2073== by 0x82B141F: Gob::Inter_v1::o1_playMult() (inter_v1.cpp:767)
187==2073== by 0x82B392D: Gob::Inter_v1::executeDrawOpcode(unsigned char) (inter_v1.cpp:1575)
188==2073== by 0x82B185E: Gob::Inter_v1::o1_drawOperations(char&, short&, short&) (inter_v1.cpp:853)
189==2073== by 0x82B3A5D: Gob::Inter_v1::executeFuncOpcode(unsigned char, unsigned char, char&, short&, short&) (inter_v1.cpp:1591)
190WARNING: inter_palLoad: cmd == 49 is not supported!
191WARNING: inter_palLoad: cmd == 49 is not supported!
192WARNING: inter_palLoad: cmd == 49 is not supported!
193WARNING: inter_palLoad: cmd == 49 is not supported!
194WARNING: inter_palLoad: cmd == 49 is not supported!
195WARNING: inter_palLoad: cmd == 49 is not supported!
196WARNING: inter_palLoad: cmd == 49 is not supported!
197WARNING: inter_palLoad: cmd == 49 is not supported!
198WARNING: inter_palLoad: cmd == 49 is not supported!
199WARNING: inter_palLoad: cmd == 49 is not supported!
200==2073==
201==2073== Invalid free() / delete / delete[]
202==2073== at 0x401BF6C: free (vg_replace_malloc.c:235)
203==2073== by 0x43F1F4B: free_mem (in /lib/tls/libc-2.3.5.so)
204==2073== by 0x43F1A14: __libc_freeres (in /lib/tls/libc-2.3.5.so)
205==2073== by 0x401738C: _vgw_freeres (vg_preloaded.c:62)
206==2073== by 0x4328A05: exit (in /lib/tls/libc-2.3.5.so)
207==2073== by 0x80519E6: OSystem_SDL::quit() (sdl.cpp:214)
208==2073== by 0x82C6C68: Gob::Util::processInput() (util.cpp:163)
209==2073== by 0x82CF36F: Gob::Game::checkKeys(short*, short*, short*, char) (game.cpp:449)
210==2073== by 0x82CF7E1: Gob::Game::checkCollisions(char, short, short*, short*) (game.cpp:551)
211==2073== by 0x82D1F9B: Gob::Game::collisionsBlock() (game.cpp:1346)
212==2073== by 0x82D5ADA: Gob::Inter::callSub(short) (inter.cpp:266)
213==2073== by 0x82B3D38: Gob::Inter_v1::o1_callSub(char&, short&, short&) (inter_v1.cpp:1641)
214==2073== Address 0x42F48A0 is not stack'd, malloc'd or (recently) free'd
215==2073==
216==2073== ERROR SUMMARY: 1336 errors from 11 contexts (suppressed: 92 from 3)
217==2073== malloc/free: in use at exit: 1,135,014 bytes in 10,346 blocks.
218==2073== malloc/free: 16,119 allocs, 5,774 frees, 4,488,239 bytes allocated.
219==2073== For counts of detected errors, rerun with: -v
220==2073== searching for pointers to 10,346 not-freed blocks.
221==2073== checked 10,457,768 bytes.
222==2073==
223==2073== LEAK SUMMARY:
224==2073== definitely lost: 77,141 bytes in 430 blocks.
225==2073== possibly lost: 24,172 bytes in 409 blocks.
226==2073== still reachable: 1,033,701 bytes in 9,507 blocks.
227==2073== suppressed: 0 bytes in 0 blocks.
228==2073== Use --leak-check=full to see details of leaked memory.