glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] valgrind, errors in VoiceRecorder and openInputStreamB


From: Kai Antweiler
Subject: Re: [glob2-devel] valgrind, errors in VoiceRecorder and openInputStreamBackend
Date: Mon, 08 May 2006 00:03:27 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Jumbo Shrimp, linux)

> This is now all fixed in CVS. Sorry for the bug,
>
> Steph

I'll still get some:

# valgrind --leak-check=full --leak-resolution=med src/glob2 -d ~/.glob2/games/ 
-nox TriangIe.game 100 1
==21469== Memcheck, a memory error detector.
==21469== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==21469== Using LibVEX rev 1575, a library for dynamic binary translation.
==21469== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==21469== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==21469== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==21469== For more details, rerun with: -v
==21469== 
nox::running 1 times 100 steps:
nox::game started
nox::gui.game.checkSum() = 0326780b
nox::cpuSumCountStats = 100
nox::noxTicks = 7765
nox::speed = 12.878300 [steps/s]
==21469== Invalid free() / delete / delete[]
==21469==    at 0x4A1FCCC: free (in 
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==21469==    by 0x5E2B35F: (within /lib64/libc-2.4.so)
==21469==    by 0x5E2AFF1: __libc_freeres (in /lib64/libc-2.4.so)
==21469==    by 0x491C6EC: _vgw_freeres (in 
/usr/lib64/valgrind/amd64-linux/vgpreload_core.so)
==21469==    by 0x5D70E74: exit (in /lib64/libc-2.4.so)
==21469==    by 0x5D5C13C: (below main) (in /lib64/libc-2.4.so)
==21469==  Address 0x403A7E0 is not stack'd, malloc'd or (recently) free'd
==21469== 
==21469== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 1)
==21469== malloc/free: in use at exit: 843 bytes in 9 blocks.
==21469== malloc/free: 273,551 allocs, 273,543 frees, 22,000,580 bytes 
allocated.
==21469== For counts of detected errors, rerun with: -v
==21469== searching for pointers to 9 not-freed blocks.
==21469== checked 2,056,704 bytes.
==21469== 
==21469== 
==21469== 339 (240 direct, 99 indirect) bytes in 3 blocks are definitely lost 
in loss record 4 of 5
==21469==    at 0x4A1F136: operator new(unsigned long) (in 
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==21469==    by 0x4403D8: AICastor::addProjects() (AICastor.cpp:1308)
==21469==    by 0x440CCA: AICastor::getOrder() (AICastor.cpp:520)
==21469==    by 0x455F50: Engine::run() (Engine.cpp:451)
==21469==    by 0x49A247: Glob2::run(int, char**) (Glob2.cpp:110)
==21469==    by 0x49A902: main (Glob2.cpp:433)
==21469== 
==21469== LEAK SUMMARY:
==21469==    definitely lost: 240 bytes in 3 blocks.
==21469==    indirectly lost: 99 bytes in 3 blocks.
==21469==      possibly lost: 0 bytes in 0 blocks.
==21469==    still reachable: 504 bytes in 3 blocks.
==21469==         suppressed: 0 bytes in 0 blocks.
==21469== Reachable blocks (those to which a pointer was found) are not shown.
==21469== To see them, rerun with: --show-reachable=yes


-- 
Kai Antweiler





reply via email to

[Prev in Thread] Current Thread [Next in Thread]