# valgrind -v ./server ==815== Memcheck, a memory error detector for x86-linux. ==815== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==815== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==815== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==815== Valgrind library directory: /usr/lib/valgrind ==815== Command line ==815== ./server ==815== Startup, with flags: ==815== -v ==815== Contents of /proc/version: ==815== Linux version 2.4.31 (root@sexy-motherfuckers) (gcc version 3.3.4) #5 SMP Mon Jun 20 23:53:51 ART 2005 ==815== Reading syms from /root/dev/sipsrv/c/0.4/server (0x8048000) ==815== Reading syms from /lib/ld-2.3.5.so (0x1B8E4000) ==815== object doesn't have any debug info ==815== Reading syms from /usr/lib/valgrind/stage2 (0xB0000000) ==815== Reading syms from /lib/ld-2.3.5.so (0xB1000000) ==815== object doesn't have any debug info ==815== Reading syms from /lib/libdl-2.3.5.so (0xB102E000) ==815== object doesn't have any debug info ==815== Reading syms from /lib/libc-2.3.5.so (0xB1032000) ==815== object doesn't have any debug info ==815== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB124C000) ==815== Reading suppressions file: /usr/lib/valgrind/default.supp ==815== ==815== Reading syms from /usr/lib/valgrind/vg_inject.so (0x1B8FC000) ==815== Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x1B8FF000) ==815== Reading syms from /lib/libc-2.3.5.so (0x1B920000) ==815== object doesn't have any debug info ==815== Reading syms from /lib/libdl-2.3.5.so (0x1BA3A000) ==815== object doesn't have any debug info ==815== TRANSLATE: 0x1B981440 redirected to 0x1B902260 ==815== TRANSLATE: 0x1B981600 redirected to 0x1B902770 ==815== Use of uninitialised value of size 4 ==815== at 0x8048D44: parse_msg (in /root/dev/sipsrv/c/0.4/server) ==815== by 0x8048ABC: main (in /root/dev/sipsrv/c/0.4/server) ==815== ==815== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 13 from 1) ==815== ==815== 1 errors in context 1 of 1: ==815== Use of uninitialised value of size 4 ==815== at 0x8048D44: parse_msg (in /root/dev/sipsrv/c/0.4/server) ==815== by 0x8048ABC: main (in /root/dev/sipsrv/c/0.4/server) --815-- --815-- supp: 13 dl_relocate_object ==815== ==815== IN SUMMARY: 1 errors from 1 contexts (suppressed: 13 from 1) ==815== ==815== malloc/free: in use at exit: 0 bytes in 0 blocks. ==815== malloc/free: 14 allocs, 14 frees, 2422 bytes allocated. ==815== ==815== No malloc'd blocks -- no leaks are possible. --815-- TT/TC: 0 tc sectors discarded. --815-- 2070 tt_fast misses. --815-- translate: new 2067 (34017 -> 473740; ratio 139:10) --815-- discard 0 (0 -> 0; ratio 0:10). --815-- chainings: 1469 chainings, 0 unchainings. --815-- dispatch: 250966 jumps (bb entries); of them 24877 (9%) unchained. --815-- 6/2149 major/minor sched events. --815-- reg-alloc: 402 t-req-spill, 85356+3073 orig+spill uis, --815-- 11023 total-reg-rank --815-- sanity: 7 cheap, 1 expensive checks. --815-- ccalls: 7688 C calls, 54% saves+restores avoided (24888 bytes) --815-- 10166 args, avg 0.86 setup instrs each (2666 bytes) --815-- 0% clear the stack (23064 bytes) --815-- 3293 retvals, 29% of reg-reg movs avoided (1876 bytes)