Hi,

i have a question with regard to how suppression expression are user:

How come the following error:
==20499== Syscall param write(buf) points to uninitialised byte(s)
==20499==    at 0x56D5890: __write_nocancel (in /lib64/libpthread-2.4.so)
==20499==    by 0x54BC9E1: ibv_cmd_create_cq (cmd.c:320)
==20499==    by 0x6586AF0: mthca_create_cq (verbs.c:225)
==20499==    by 0x54C161E: ibv_create_cq@@IBVERBS_1.1 (verbs.c:278)
==20499==    by 0x4E460C4: rdma_iba_hca_init (in 
/usr/mpi/mvapich2-1.0-1/gcc/lib/libmpich.so)
==20499==    by 0x4E431FA: MPIDI_CH3I_RMDA_init (in 
/usr/mpi/mvapich2-1.0-1/gcc/lib/libmpich.so)
==20499==    by 0x4DC7BCA: MPIDI_CH3_Init (in 
/usr/mpi/mvapich2-1.0-1/gcc/lib/libmpich.so)
==20499==    by 0x4E25BD4: MPID_Init (in 
/usr/mpi/mvapich2-1.0-1/gcc/lib/libmpich.so)
==20499==    by 0x4E19BD6: MPIR_Init_thread (in 
/usr/mpi/mvapich2-1.0-1/gcc/lib/libmpich.so)
==20499==    by 0x4E19627: PMPI_Init (in 
/usr/mpi/mvapich2-1.0-1/gcc/lib/libmpich.so)
==20499==    by 0x40305E: main (CardiacSim.cpp:289)
==20499==  Address 0x7feffeaa8 is on thread 1's stack
==20499== 
{
   <insert_a_suppression_name_here>
   Memcheck:Param
   write(buf)
   fun:__write_nocancel
   fun:ibv_cmd_create_cq
   fun:mthca_create_cq
   fun:ibv_create_cq@@IBVERBS_1.1
   fun:rdma_iba_hca_init
   fun:MPIDI_CH3I_RMDA_init
   fun:MPIDI_CH3_Init
   fun:MPID_Init
   fun:MPIR_Init_thread
   fun:PMPI_Init
   fun:main
}


is NOT suppressed by the following statement (in my suppression file):

{
   name5
   Memcheck:Param
   ...
   fun:*
   ...
   fun:PMPI_Init
   ...
   fun:main
}


thanks
matt

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to