On Tue, Apr 27, 2010 at 9:27 PM, Osman, Ahmed <ahmed_os...@mentor.com> wrote:
>
> I'm trying to run valgrind 3.5 on my code with these options 
> "--log-file=results/valgrind_%p.log --num-callers=50 
> --child-silent-after-fork=yes --gen-suppressions=yes"
>
> I'm seeing the following in the log files:
> ==4630== Memcheck, a memory error detector
> ==4630== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
> ==4630== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
> ==4630== Command: /u/bata_root/rhino/valgrind/modeltech/linux/vsimk -valgrind 
> -port 45523 -stdoutfilename /tmp/VSOUTatOZ9z -c -do test.do
> ==4630== Parent PID: 4589
> ==4630==
> ==4630== Syscall param socketcall.send(msg) points to uninitialised byte(s)
> ==4630==    at 0x954EF8: send (in /lib/tls/libc-2.3.4.so)
> ==4630==    by 0x985100: __nscd_get_map_ref (in /lib/tls/libc-2.3.4.so)
> ==4630==    by 0x9830B3: nscd_getpw_r (in /lib/tls/libc-2.3.4.so)
> ==4630==    by 0x9833F6: __nscd_getpwuid_r (in /lib/tls/libc-2.3.4.so)
> ==4630==    by 0x915C49: getpwuid_r@@GLIBC_2.1.2 (in /lib/tls/libc-2.3.4.so)
> ==4630==    by 0x8C4E0C: cuserid (in /lib/tls/libc-2.3.4.so)
> ==4630==    by 0x86AE56F: ucdbvsim_TestData_update (ucdbvsim.c:395)
> ==4630==    by 0x869E4AA: vl_ucdb_browse_hierarchy (ucdbsavevsim.c:8195)
> ==4630==    by 0x85E175B: ucdbSave (ucdbcmds.c:632)
> ==4630==    by 0x85E1A88: tclprim_cover (ucdbcmds.c:699)
> ==4630==    by 0x8A33A5B: TclInvokeStringCommand (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8A3520D: TclEvalObjvInternal (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8A366A1: Tcl_EvalEx (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8A36AE4: Tcl_Eval (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8A374CE: Tcl_GlobalEval (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8859AAB: mti_DoIt (tclrpc.c:810)
> ==4630==    by 0x8A6D83F: Tcl_NotifyChannel (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8A9C372: FileHandlerEventProc (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8A7CCA4: Tcl_ServiceEvent (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x8A7CFA2: Tcl_DoOneEvent (in 
> /u/bata_root/rhino/valgrind/modeltech/linux/vsimk)
> ==4630==    by 0x89F25E7: mti_DoOneEvent (tclext.c:329)
> ==4630==    by 0x854A9BA: bg_execute_commands (bgcmd.c:819)
> ==4630==    by 0x84657EC: mti_main (main.c:2731)
> ==4630==    by 0x805DD05: main (mti_main.c:76)
> ==4630==  Address 0xfeff8e93 is on thread 1's stack
> ==4630==
> ==4630==
> ==4630== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- ==4630== ---- 
> Print suppression ? --- [Return/N/n/Y/y/C/c] ---- ==4630== Conditional jump 
> or move depends on uninitialised value(s)
>
>
> Please advise ...

Have you already tried to change --gen-suppressions=yes into
--gen-suppressions=all ?

Bart.

------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to