r105 - in regression_tests/tests/2022_session_valgrind: .
expected_output
erik at minisip.org
erik at minisip.org
Mon Mar 12 11:33:56 CET 2007
Author: erik
Date: 2007-03-12 11:33:55 +0100 (Mon, 12 Mar 2007)
New Revision: 105
Modified:
regression_tests/tests/2022_session_valgrind/expected_output/expected_output
regression_tests/tests/2022_session_valgrind/test.sh
Log:
* Updates expected output of test 2022
- Paths to the libraries could be different depending on where you
install them. Now the install prefix is replaced with "PREFIX".
- I accept the current output as the expected one
The output is not entirely predictable. When running in valgrind the
execution is so slow that sometimes a re-transmit is triggered.
In that case, I think a bug is shown in the test output (an extra
Via header in the an ACK message). The expected output is correct (the
re-transmit is not expected).
Modified: regression_tests/tests/2022_session_valgrind/expected_output/expected_output
===================================================================
--- regression_tests/tests/2022_session_valgrind/expected_output/expected_output 2007-03-12 10:05:49 UTC (rev 104)
+++ regression_tests/tests/2022_session_valgrind/expected_output/expected_output 2007-03-12 10:33:55 UTC (rev 105)
@@ -3,6 +3,244 @@
--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 0xXXXXXXX: sendto (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: getifaddrs (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: NetworkFunctions::getInterfaceIPStr(std::string) (NetworkFunctions.cxx)
+==PID== by 0xXXXXXXX: MyApp::run() (ua.cxx)
+==PID== by 0xXXXXXXX: startRunnable(MRef<Runnable*>) (ThreadPosix.cxx)
+==PID== by 0xXXXXXXX: LinuxThreadStarter(void*) (ThreadPosix.cxx)
+==PID== by 0xXXXXXXX: start_thread (in /lib/tls/libpthread-2.3.6.so)
+==PID== by 0xXXXXXXX: clone (in /lib/tls/libc-2.3.6.so)
+==PID== Address 0xXXXXXXX is on thread 2's stack
+==PID==
+==PID== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
+==PID== at 0xXXXXXXX: sendto (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: getifaddrs (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: NetworkFunctions::getInterfaceIPStr(std::string) (NetworkFunctions.cxx)
+==PID== by 0xXXXXXXX: MyApp::run() (ua.cxx)
+==PID== by 0xXXXXXXX: startRunnable(MRef<Runnable*>) (ThreadPosix.cxx)
+==PID== by 0xXXXXXXX: LinuxThreadStarter(void*) (ThreadPosix.cxx)
+==PID== by 0xXXXXXXX: start_thread (in /lib/tls/libpthread-2.3.6.so)
+==PID== by 0xXXXXXXX: clone (in /lib/tls/libc-2.3.6.so)
+==PID== Address 0xXXXXXXX is on thread 2's stack
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
+==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID==
+==PID== Conditional jump or move depends on uninitialised value(s)
+==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: _dl_open (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
+==PID== by 0xXXXXXXX: __libc_dlopen_mode (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_lookup_function (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
+==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, bool) (SipLayerTransport.cxx)
+==PID== by 0xXXXXXXX: SipTransaction::send(MRef<SipMessage*>, bool, std::string) (SipTransaction.cxx)
+==PID== by 0xXXXXXXX: SipTransactionInviteClient::a0_start_calling_INVITE(SipSMCommand const&) (SipTransactionInviteClient.cxx)
+==PID== by 0xXXXXXXX: StateTransition<SipSMCommand, std::string>::handleCommand(SipSMCommand const&) (StateMachine.h:346)
+==PID== by 0xXXXXXXX: SipTransaction::handleCommand(SipSMCommand const&) (StateMachine.h:299)
+==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
+==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
+==PID==
==PID== Invalid read of size 4
==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
@@ -17,6 +255,7 @@
==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
@@ -28,7 +267,6 @@
==PID== by 0xXXXXXXX: SipLayerTransaction::defaultCommandHandler(SipSMCommand const&) (SipLayerTransaction.cxx)
==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
-==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
==PID== Address 0xXXXXXXX is 24 bytes inside a block of size 27 alloc'd
==PID== at 0xXXXXXXX: malloc (vg_replace_malloc.c:149)
==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
@@ -42,6 +280,7 @@
==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
@@ -54,7 +293,6 @@
==PID== by 0xXXXXXXX: SipLayerTransaction::handleCommand(SipSMCommand const&) (SipLayerTransaction.cxx)
==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
-==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
==PID==
==PID== Conditional jump or move depends on uninitialised value(s)
==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
@@ -68,6 +306,7 @@
==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
@@ -81,7 +320,6 @@
==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
-==PID== by 0xXXXXXXX: SipStack::run() (SipStack.cxx)
==PID==
==PID== Conditional jump or move depends on uninitialised value(s)
==PID== at 0xXXXXXXX: (within /lib/ld-2.3.6.so)
@@ -95,6 +333,7 @@
==PID== by 0xXXXXXXX: (within /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: __nss_hosts_lookup (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: gethostbyname2_r (in /lib/tls/libc-2.3.6.so)
+==PID== by 0xXXXXXXX: gethostbyname2 (in /lib/tls/libc-2.3.6.so)
==PID== by 0xXXXXXXX: IP4Address::IP4Address(std::string) (IP4Address.cxx)
==PID== by 0xXXXXXXX: IPAddress::create(std::string const&) (IPAddress.cxx)
==PID== by 0xXXXXXXX: SipLayerTransport::sendMessage(MRef<SipMessage*>, std::string const&, int, std::string, std::string, bool) (SipLayerTransport.cxx)
@@ -108,7 +347,6 @@
==PID== by 0xXXXXXXX: SipCommandDispatcher::handleCommand(SipSMCommand const&) (SipCommandDispatcher.cxx)
==PID== by 0xXXXXXXX: SipCommandDispatcher::run() (SipCommandDispatcher.cxx)
==PID== by 0xXXXXXXX: SipStackInternal::run() (SipStackInternal.cxx)
-==PID== by 0xXXXXXXX: SipStack::run() (SipStack.cxx)
OUT (STREAM): INVITE 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): Call-ID: callidstring
@@ -116,7 +354,7 @@
OUT (STREAM): From: <sip:clientuser at domain.com>
OUT (STREAM): To: <sip:erik at localhost:SERVERPORT>
OUT (STREAM): CSeq: 1 INVITE
-OUT (STREAM): Contact: <sip:clientuser at 127.0.0.1:CLIENTPORT;transport=TCP>;expires=1000
+OUT (STREAM): Contact: <sip:clientuser at 127.0.0.1:CLIENTPORT>;expires=1000
OUT (STREAM): Content-Length: 0
OUT (STREAM):
OUT (STREAM):
@@ -130,27 +368,7 @@
IN (STREAM): Content-Length: 0
IN (STREAM):
IN (STREAM):
-OUT (STREAM): INVITE 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): Call-ID: callidstring
-OUT (STREAM): Max-Forwards: 50
-OUT (STREAM): From: <sip:clientuser at domain.com>
-OUT (STREAM): To: <sip:erik at localhost:SERVERPORT>
-OUT (STREAM): CSeq: 1 INVITE
-OUT (STREAM): Contact: <sip:clientuser at 127.0.0.1:CLIENTPORT;transport=TCP>;expires=1000
-OUT (STREAM): Content-Length: 0
-OUT (STREAM):
-OUT (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
-IN (STREAM): Call-ID: callidstring
-IN (STREAM): From: <sip:clientuser at domain.com>
-IN (STREAM): To: <sip:erik at localhost:SERVERPORT>
-IN (STREAM): CSeq: 1 INVITE
-IN (STREAM): Content-Length: 0
-IN (STREAM):
-IN (STREAM):
+DISPATCHER: command NOT handled
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
@@ -161,18 +379,7 @@
OUT (STREAM): Content-Length: 0
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:34861;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
-OUT (STREAM): From: <sip:clientuser at domain.com>
-OUT (STREAM): CSeq: 1 ACK
-OUT (STREAM): To: <sip:erik at localhost:SERVERPORT>
-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): BYE sip:clientuser at 127.0.0.1:CLIENTPORT 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>
@@ -195,7 +402,7 @@
==PID==
==PID== Thread 1:
==PID==
-==PID== 576 bytes in 8 blocks are possibly lost in loss record 68 of 72
+==PID== 288 bytes in 4 blocks are possibly lost in loss record 73 of 76
==PID== at 0xXXXXXXX: calloc (vg_replace_malloc.c:279)
==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
==PID== by 0xXXXXXXX: _dl_allocate_tls (in /lib/ld-2.3.6.so)
@@ -205,14 +412,14 @@
==PID== by 0xXXXXXXX: main (ua.cxx)
==PID==
==PID==
-==PID== 1,279 bytes in 48 blocks are possibly lost in loss record 69 of 72
+==PID== 1,301 bytes in 49 blocks are possibly lost in loss record 74 of 76
==PID== at 0xXXXXXXX: operator new(unsigned) (vg_replace_malloc.c:163)
-==PID== by 0xXXXXXXX: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
-==PID== by 0xXXXXXXX: (within /usr/lib/libstdc++.so.6.0.8)
-==PID== by 0xXXXXXXX: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
+==PID== by 0xXXXXXXX: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /PREFIX/lib/libstdc++.so.6.0.8)
+==PID== by 0xXXXXXXX: (within /PREFIX/lib/libstdc++.so.6.0.8)
+==PID== by 0xXXXXXXX: std::string::string(char const*, std::allocator<char> const&) (in /PREFIX/lib/libstdc++.so.6.0.8)
==PID== by 0xXXXXXXX: __static_initialization_and_destruction_0(int, int) (SipHeaderVia.cxx)
-==PID== by 0xXXXXXXX: (within /home/erik/lib/libmsip.so.0.0.0)
-==PID== by 0xXXXXXXX: (within /home/erik/lib/libmsip.so.0.0.0)
+==PID== by 0xXXXXXXX: (within /PREFIX/lib/libmsip.so.0.0.0)
+==PID== by 0xXXXXXXX: (within /PREFIX/lib/libmsip.so.0.0.0)
==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
==PID== by 0xXXXXXXX: (within /lib/ld-2.3.6.so)
Modified: regression_tests/tests/2022_session_valgrind/test.sh
===================================================================
--- regression_tests/tests/2022_session_valgrind/test.sh 2007-03-12 10:05:49 UTC (rev 104)
+++ regression_tests/tests/2022_session_valgrind/test.sh 2007-03-12 10:33:55 UTC (rev 105)
@@ -18,6 +18,9 @@
CPORT=$RANDOM
while test $CPORT -le 1024 ; do CPORT=$RANDOM ; done
+echo Server port is $SPORT
+echo Client port is $CPORT
+
# set up server on a random port, send it a sleep command
echo -e "sleep 6\nhangup\nsleep 5" | ../../common/ua/ua -p $SPORT -u serveruser at domain.com -t tcp > /dev/null 2>&1 &
@@ -42,6 +45,14 @@
sed -i "s/0x[0123456789ABCDEF]\{7\}/0xXXXXXXX/" test_output
sed -i "s/\.cxx:[0-9]\{1,7\}/\.cxx/" test_output
+# there might be paths to the installed minisip libraries
+# in the output, and the prefix might be different from
+# machine to machine
+sed -i "s/\/.*\/lib\/lib/\/PREFIX\/lib\/lib/" test_output
+
+
+sed -i "s/127\.0\.0\.1:[0-9][0-9]*/127\.0\.0\.1:TCPPORT/ " test_output
+
if [ -e expected_output/expected_output ] ; then
diff -u expected_output/expected_output test_output > diff_output ;
else
More information about the Minisip-devel
mailing list