Running "make check" under valgrind

Brad Hards bradh at frogmouth.net
Thu Nov 5 11:10:05 CET 2009


Hi,

When I run "make check" with valgrind support, I'm seeing about 20 tests that 
are showing valgrind errors. Looks like a common backtrace:

==28786== Conditional jump or move depends on uninitialised value(s)               
==28786==    at 0x4130789: _gcry_mpi_print (mpicoder.c:583)                        
==28786==    by 0x40E4A48: gcry_mpi_print (visibility.c:308)                       
==28786==    by 0x40474B8: wrap_gcry_mpi_print (mpi-libgcrypt.c:76)                
==28786==    by 0x4044109: _gnutls_dh_common_print_server_kx 
(auth_dh_common.c:326)
==28786==    by 0x404F3F3: gen_psk_server_kx (auth_dhe_psk.c:157)                  
==28786==    by 0x4027C57: _gnutls_send_server_kx_message (gnutls_kx.c:200)        
==28786==    by 0x40245D7: _gnutls_handshake_server (gnutls_handshake.c:2762)      
==28786==    by 0x4024C89: gnutls_handshake (gnutls_handshake.c:2435)              
==28786==    by 0x8049717: doit (dhepskself.c:272)                                 
==28786==    by 0x80499EC: main (utils.c:148)                                      
==28786==                                                                          
==28786== Conditional jump or move depends on uninitialised value(s)               
==28786==    at 0x4130789: _gcry_mpi_print (mpicoder.c:583)                        
==28786==    by 0x40E4A48: gcry_mpi_print (visibility.c:308)                       
==28786==    by 0x40474B8: wrap_gcry_mpi_print (mpi-libgcrypt.c:76)                
==28786==    by 0x404412C: _gnutls_dh_common_print_server_kx 
(auth_dh_common.c:327)
==28786==    by 0x404F3F3: gen_psk_server_kx (auth_dhe_psk.c:157)                  
==28786==    by 0x4027C57: _gnutls_send_server_kx_message (gnutls_kx.c:200)        
==28786==    by 0x40245D7: _gnutls_handshake_server (gnutls_handshake.c:2762)      
==28786==    by 0x4024C89: gnutls_handshake (gnutls_handshake.c:2435)              
==28786==    by 0x8049717: doit (dhepskself.c:272)                                 
==28786==    by 0x80499EC: main (utils.c:148)                                      
==28786==                                                                          
==28786== Conditional jump or move depends on uninitialised value(s)               
==28786==    at 0x4130789: _gcry_mpi_print (mpicoder.c:583)                        
==28786==    by 0x40E4A48: gcry_mpi_print (visibility.c:308)                       
==28786==    by 0x40474B8: wrap_gcry_mpi_print (mpi-libgcrypt.c:76)                
==28786==    by 0x404414F: _gnutls_dh_common_print_server_kx 
(auth_dh_common.c:328)
==28786==    by 0x404F3F3: gen_psk_server_kx (auth_dhe_psk.c:157)                  
==28786==    by 0x4027C57: _gnutls_send_server_kx_message (gnutls_kx.c:200)        
==28786==    by 0x40245D7: _gnutls_handshake_server (gnutls_handshake.c:2762)      
==28786==    by 0x4024C89: gnutls_handshake (gnutls_handshake.c:2435)              
==28786==    by 0x8049717: doit (dhepskself.c:272)                                 
==28786==    by 0x80499EC: main (utils.c:148)                                      
==28787== Conditional jump or move depends on uninitialised value(s)               
==28787==    at 0x4130789: _gcry_mpi_print (mpicoder.c:583)                        
==28787==    by 0x40E4A48: gcry_mpi_print (visibility.c:308)                       
==28787==    by 0x40474B8: wrap_gcry_mpi_print (mpi-libgcrypt.c:76)                
==28787==    by 0x40447A6: _gnutls_gen_dh_common_client_kx 
(auth_dh_common.c:142)  
==28787==    by 0x404F1D9: gen_psk_client_kx (auth_dhe_psk.c:89)                   
==28787==    by 0x4027A1F: _gnutls_send_client_kx_message (gnutls_kx.c:295)        
==28787==    by 0x4023F5F: _gnutls_handshake_client (gnutls_handshake.c:2576)      
==28787==    by 0x4024D07: gnutls_handshake (gnutls_handshake.c:2431)              
==28787==    by 0x8049304: client (dhepskself.c:93)                                
==28787==    by 0x8049566: doit (dhepskself.c:351)                                 
==28787==    by 0x80499EC: main (utils.c:148)    

Is anyone else seeing this?

Brad





More information about the Gnutls-devel mailing list