diff options
author | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-19 06:00:11 +0000 |
---|---|---|
committer | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-19 06:00:11 +0000 |
commit | 40054364fb083611373dfc438f8a9b35b4dbcc47 (patch) | |
tree | facf82274607e8566aeedcd2baa59f48501ca891 | |
parent | e4ec6bb8c79fc6fb1015154e5c40bc2cb025fe23 (diff) |
Wed Mar 19 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@656 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | channels/chan_sip.c | 8 | ||||
-rwxr-xr-x | contrib/valgrind-RedHat-8.0.supp | 41 | ||||
-rwxr-xr-x | frame.c | 1 | ||||
-rwxr-xr-x | valgrind-RedHat-8.0.supp | 41 |
4 files changed, 83 insertions, 8 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 819f44d4c..824aa7c8a 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -726,10 +726,6 @@ static int sip_hangup(struct ast_channel *ast) ast->pvt->pvt = NULL; p->needdestroy = 1; -#if 0 - /* Invert sense of outgoing */ - p->outgoing = 1 - p->outgoing; -#endif /* Start the process if it's not already started */ if (!p->alreadygone && strlen(p->initreq.data)) { if (needcancel) { @@ -739,10 +735,6 @@ static int sip_hangup(struct ast_channel *ast) transmit_request(p, "BYE", 1); } } -#if 0 - /* Restore sense of outgoing */ - p->outgoing = 1 - p->outgoing; -#endif ast_pthread_mutex_unlock(&p->lock); return 0; } diff --git a/contrib/valgrind-RedHat-8.0.supp b/contrib/valgrind-RedHat-8.0.supp new file mode 100755 index 000000000..a404d43fa --- /dev/null +++ b/contrib/valgrind-RedHat-8.0.supp @@ -0,0 +1,41 @@ +#This valgrind suppresion file is supposed to be working with +#Red Hat Linux release 8.0 (Psyche) +#You can use it by calling valgrind this way: +#cd /usr/src/asterisk +#valgrind --gdb-attach=yes --suppressions=valgrind-RedHat-8.0.supp asterisk -vvv + +{ + library_1 + PThread + fun:pthread_error + fun:__pthread_mutex_destroy + obj:/lib/i686/libc-2.2.93.so +} + +{ + library 2 + Cond + fun:elf_dynamic_do_rel.7 + fun:_dl_relocate_object_internal + obj:/lib/i686/libc-2.2.93.so + fun:_dl_catch_error_internal +} + +#==21922== Thread 16: +#==21922== Syscall param ioctl(generic) contains uninitialised or +#unaddressable byte(s) +#==21922== at 0x420D3454: (within /lib/i686/libc-2.2.93.so) +#==21922== by 0x8058D45: ast_call (channel.c:1356) +#==21922== by 0x463027A7: ??? (app_dial.c:472) +#==21922== by 0x805E2AE: pbx_exec (pbx.c:318) +#==21922== Address 0x0 is not stack'd, malloc'd or free'd + +{ + ioctl(........,NULL); + Param + ioctl(generic) + obj:/lib/i686/libc-2.2.93.so + fun:ast_call + fun: + fun:pbx_exec +} @@ -22,6 +22,7 @@ #include <string.h> #include <errno.h> #include <pthread.h> +#include <stdio.h> #include "asterisk.h" #ifdef TRACE_FRAMES diff --git a/valgrind-RedHat-8.0.supp b/valgrind-RedHat-8.0.supp new file mode 100755 index 000000000..a404d43fa --- /dev/null +++ b/valgrind-RedHat-8.0.supp @@ -0,0 +1,41 @@ +#This valgrind suppresion file is supposed to be working with +#Red Hat Linux release 8.0 (Psyche) +#You can use it by calling valgrind this way: +#cd /usr/src/asterisk +#valgrind --gdb-attach=yes --suppressions=valgrind-RedHat-8.0.supp asterisk -vvv + +{ + library_1 + PThread + fun:pthread_error + fun:__pthread_mutex_destroy + obj:/lib/i686/libc-2.2.93.so +} + +{ + library 2 + Cond + fun:elf_dynamic_do_rel.7 + fun:_dl_relocate_object_internal + obj:/lib/i686/libc-2.2.93.so + fun:_dl_catch_error_internal +} + +#==21922== Thread 16: +#==21922== Syscall param ioctl(generic) contains uninitialised or +#unaddressable byte(s) +#==21922== at 0x420D3454: (within /lib/i686/libc-2.2.93.so) +#==21922== by 0x8058D45: ast_call (channel.c:1356) +#==21922== by 0x463027A7: ??? (app_dial.c:472) +#==21922== by 0x805E2AE: pbx_exec (pbx.c:318) +#==21922== Address 0x0 is not stack'd, malloc'd or free'd + +{ + ioctl(........,NULL); + Param + ioctl(generic) + obj:/lib/i686/libc-2.2.93.so + fun:ast_call + fun: + fun:pbx_exec +} |