r86 - regression_tests/tests/2022_session_valgrind/expected_output

erik at minisip.org erik at minisip.org
Mon Jan 22 16:20:54 CET 2007


Author: erik
Date: 2007-01-22 16:20:53 +0100 (Mon, 22 Jan 2007)
New Revision: 86

Modified:
   regression_tests/tests/2022_session_valgrind/expected_output/expected_output
Log:

 * I added a suppression for the getifaddrs function in glibc.
   Now we don't get it in the valgrind test.

   Suppression that is now used for everyone on dev.minisip.org:
   {
     getifaddrs_uninitialized_data_ee
     Memcheck:Param
     socketcall.sendto(msg)
     fun:sendto
     fun:getifaddrs
   }




Modified: regression_tests/tests/2022_session_valgrind/expected_output/expected_output
===================================================================
--- regression_tests/tests/2022_session_valgrind/expected_output/expected_output	2007-01-22 14:57:13 UTC (rev 85)
+++ regression_tests/tests/2022_session_valgrind/expected_output/expected_output	2007-01-22 15:20:53 UTC (rev 86)
@@ -3,28 +3,6 @@
 --PID-- DWARF2 CFI reader: unhandled CFI instruction 0:50
 --PID-- DWARF2 CFI reader: unhandled CFI instruction 0:50
 ==PID== Thread 2:
-==PID== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
-==PID==    at 0x44FC85E: sendto (in /lib/tls/libc-2.3.6.so)
-==PID==    by 0x451A3DE: getifaddrs (in /lib/tls/libc-2.3.6.so)
-==PID==    by 0x4570004: NetworkFunctions::getInterfaceIPStr(std::string) (NetworkFunctions.cxx:199)
-==PID==    by 0x80591F2: MyApp::run() (ua.cxx:387)
-==PID==    by 0x45B155A: startRunnable(MRef<Runnable*>) (ThreadPosix.cxx:92)
-==PID==    by 0x45B1B72: LinuxThreadStarter(void*) (ThreadPosix.cxx:238)
-==PID==    by 0x42CE0BC: start_thread (in /lib/tls/libpthread-2.3.6.so)
-==PID==    by 0x44FB93D: clone (in /lib/tls/libc-2.3.6.so)
-==PID==  Address 0x50D9249 is on thread 2's stack
-==PID== 
-==PID== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
-==PID==    at 0x44FC85E: sendto (in /lib/tls/libc-2.3.6.so)
-==PID==    by 0x451A400: getifaddrs (in /lib/tls/libc-2.3.6.so)
-==PID==    by 0x4570004: NetworkFunctions::getInterfaceIPStr(std::string) (NetworkFunctions.cxx:199)
-==PID==    by 0x80591F2: MyApp::run() (ua.cxx:387)
-==PID==    by 0x45B155A: startRunnable(MRef<Runnable*>) (ThreadPosix.cxx:92)
-==PID==    by 0x45B1B72: LinuxThreadStarter(void*) (ThreadPosix.cxx:238)
-==PID==    by 0x42CE0BC: start_thread (in /lib/tls/libpthread-2.3.6.so)
-==PID==    by 0x44FB93D: clone (in /lib/tls/libc-2.3.6.so)
-==PID==  Address 0x50D9249 is on thread 2's stack
-==PID== 
 ==PID== Conditional jump or move depends on uninitialised value(s)
 ==PID==    at 0x4010C4E: (within /lib/ld-2.3.6.so)
 ==PID==    by 0x4530ADF: (within /lib/tls/libc-2.3.6.so)
@@ -358,16 +336,6 @@
 OUT (STREAM): Content-Length: 0
 OUT (STREAM): 
 OUT (STREAM): 
-IN (STREAM): BYE sip:clientuser at 127.0.0.1:CLIENTPORT;transport=TCP SIP/2.0
-IN (STREAM): Via: SIP/2.0/TCP 127.0.0.1:SERVERPORT;rport;branch=branchstring
-IN (STREAM): Max-Forwards: 70
-IN (STREAM): From: <sip:erik at localhost:SERVERPORT>
-IN (STREAM): To: <sip:clientuser at domain.com>
-IN (STREAM): CSeq: 800 BYE
-IN (STREAM): Call-ID: callidstring
-IN (STREAM): Content-Length: 0
-IN (STREAM): 
-IN (STREAM): 
 IN (STREAM): SIP/2.0 200 ok
 IN (STREAM): Max-Forwards: 70
 IN (STREAM): Via: SIP/2.0/TCP 127.0.0.1:CLIENTPORT;rport=REMOTETCPPORT;branch=branchstring
@@ -399,16 +367,6 @@
 IN (STREAM): Content-Length: 0
 IN (STREAM): 
 IN (STREAM): 
-IN (STREAM): BYE sip:clientuser at 127.0.0.1:CLIENTPORT;transport=TCP SIP/2.0
-IN (STREAM): Via: SIP/2.0/TCP 127.0.0.1:SERVERPORT;rport;branch=branchstring
-IN (STREAM): Max-Forwards: 70
-IN (STREAM): From: <sip:erik at localhost:SERVERPORT>
-IN (STREAM): To: <sip:clientuser at domain.com>
-IN (STREAM): CSeq: 800 BYE
-IN (STREAM): Call-ID: callidstring
-IN (STREAM): Content-Length: 0
-IN (STREAM): 
-IN (STREAM): 
 OUT (STREAM): ACK sip:erik at localhost:SERVERPORT SIP/2.0
 OUT (STREAM): Via: SIP/2.0/TCP 127.0.0.1:CLIENTPORT;rport;branch=branchstring
 OUT (STREAM): Max-Forwards: 70
@@ -420,7 +378,7 @@
 OUT (STREAM): 
 OUT (STREAM): 
 OUT (STREAM): ACK sip:erik at localhost:SERVERPORT SIP/2.0
-OUT (STREAM): Via: SIP/2.0/TCP 127.0.0.1:34828;rport;branch=branchstring
+OUT (STREAM): Via: SIP/2.0/TCP 127.0.0.1:34831;rport;branch=branchstring
 OUT (STREAM): Via: SIP/2.0/TCP 127.0.0.1:CLIENTPORT;rport;branch=branchstring
 OUT (STREAM): Max-Forwards: 70
 OUT (STREAM): Call-ID: callidstring
@@ -430,6 +388,16 @@
 OUT (STREAM): Content-Length: 0
 OUT (STREAM): 
 OUT (STREAM): 
+IN (STREAM): BYE sip:clientuser at 127.0.0.1:CLIENTPORT;transport=TCP SIP/2.0
+IN (STREAM): Via: SIP/2.0/TCP 127.0.0.1:SERVERPORT;rport;branch=branchstring
+IN (STREAM): Max-Forwards: 70
+IN (STREAM): From: <sip:erik at localhost:SERVERPORT>
+IN (STREAM): To: <sip:clientuser at domain.com>
+IN (STREAM): CSeq: 800 BYE
+IN (STREAM): Call-ID: callidstring
+IN (STREAM): Content-Length: 0
+IN (STREAM): 
+IN (STREAM): 
 OUT (STREAM): SIP/2.0 200 ok
 OUT (STREAM): Max-Forwards: 70
 OUT (STREAM): Via: SIP/2.0/TCP 127.0.0.1:SERVERPORT;rport=REMOTETCPPORT;branch=branchstring
@@ -443,17 +411,17 @@
 ==PID== 
 ==PID== Thread 1:
 ==PID== 
-==PID== 576 bytes in 8 blocks are possibly lost in loss record 68 of 72
+==PID== 576 bytes in 8 blocks are possibly lost in loss record 72 of 76
 ==PID==    at 0x401C6CA: calloc (vg_replace_malloc.c:279)
 ==PID==    by 0x400E188: (within /lib/ld-2.3.6.so)
 ==PID==    by 0x400E24B: _dl_allocate_tls (in /lib/ld-2.3.6.so)
 ==PID==    by 0x42CE681: pthread_create@@GLIBC_2.1 (in /lib/tls/libpthread-2.3.6.so)
-==PID==    by 0x45B1EBF: Thread::Thread(MRef<Runnable*>) (ThreadPosix.cxx:319)
+==PID==    by 0x45B1F1F: Thread::Thread(MRef<Runnable*>) (ThreadPosix.cxx:319)
 ==PID==    by 0x8052BCD: ua_main(int, char**) (ua.cxx:468)
 ==PID==    by 0x8053901: main (ua.cxx:516)
 ==PID== 
 ==PID== 
-==PID== 2,044 bytes in 69 blocks are possibly lost in loss record 69 of 72
+==PID== 1,301 bytes in 49 blocks are possibly lost in loss record 73 of 76
 ==PID==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
 ==PID==    by 0x43A6E6A: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
 ==PID==    by 0x43A7C64: (within /usr/lib/libstdc++.so.6.0.8)



More information about the Minisip-devel mailing list