nanogui: valgrind
Subject:
valgrind
From:
####@####.####
Date:
16 Jun 2005 09:09:21 +0100
Message-Id: <10315813.1118909358665.JavaMail.ngmail@webmail-02.arcor-online.net>
Hi,
I just used valgrind to check my application, it conplains about some things in nano-X. Could anybody knowing the code well check it these messages are okay? (Concerning the line numbers: imho it should be 99% 0.91 :-)
I'll check the server later, too.
==31695== Syscall param write(buf) contains uninitialised or unaddressable byte(s)
==31695== at 0x1BB10108: write (in /lib/i686/libc.so.6)
==31695== by 0x80743F3: nxWriteSocket (nxproto.c:91) => written = write(nxSocket, buf, todo);
==31695== by 0x8074560: nxFlushReq (nxproto.c:179) => nxWriteSocket(buf,todo);
==31695== by 0x806F75A: ReadBlock (client.c:147)
==31695== by 0x806F8C0: CheckBlockType (client.c:230)
==31695== by 0x806F97A: TypedReadBlock (client.c:268)
==31695== by 0x8070C37: GrNewWindow (client.c:1315)
==31695== Address 0x1BB8169A is 26 bytes inside a block of size 2048 alloc'd
==31695== at 0x1B906E20: malloc (vg_replace_malloc.c:131)
==31695== by 0x8074351: nxAllocReqbuffer (nxproto.c:62) => reqbuf.buffer = malloc(newsize);
==31695== by 0x807446D: nxFlushReq (nxproto.c:112)
==31695== by 0x80742F3: nxAllocReq (nxproto.c:45)
==31695== by 0x806FDC2: GrGetScreenInfo (client.c:555)
With regards,
Thomas Giesel
Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1