Summary: | ASTERISK-00803: Valgrind complains about uninitialised values on call | ||
Reporter: | jerjer (jerjer) | Labels: | |
Date Opened: | 2004-01-12 03:24:38.000-0600 | Date Closed: | 2011-06-07 14:04:59 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | upon making a SIP->IAX2 call ==7654== Conditional jump or move depends on uninitialised value(s) ==7654== at 0x432B7B87: ??? (chan_iax2.c:1881) ==7654== by 0x8059279: ast_call (channel.c:1717) ==7654== by 0x42DC5D74: ??? (app_dial.c:591) ==7654== by 0x80616CC: pbx_exec (pbx.c:396) ==7654== Use of uninitialised value of size 4 ==7654== at 0x403020DF: _IO_vfprintf_internal (in /lib/libc-2.2.93.so) ==7654== by 0x403207E1: _IO_vsnprintf (in /lib/libc-2.2.93.so) ==7654== by 0x40309F92: __snprintf (in /lib/libc-2.2.93.so) ==7654== by 0x4248484D: ??? (chan_sip.c:2520) ****** ADDITIONAL INFORMATION ****** for the chan_sip one it looks like the video patch we added has a null vdest? (gdb) #0 vg_do_syscall3 (syscallno=4294966784, arg1=7655, arg2=0, arg3=0) at vg_mylibc.c:92 __res = 4294966784 #1 0x00001de7 in ?? () No symbol table info available. #2 0x403020df in vfprintf () from /lib/libc.so.6 No symbol table info available. #3 0x403207e2 in vsnprintf () from /lib/libc.so.6 No symbol table info available. #4 0x40309f93 in snprintf () from /lib/libc.so.6 No symbol table info available. ASTERISK-1 0x4248484e in add_sdp (resp=0x47835a00, p=0x4135aa8c, rtp=0x4249eb63, vrtp=0x47835230) at chan_sip.c:2520 len = 1199788592 codec = 1199788592 alreadysent = 0 costr = '\0' <repeats 79 times> sin = {sin_family = 2, sin_port = 3165, sin_addr = {s_addr = 0}, sin_zero = "\0\0\0\0\0\0\0"} vsin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\0\0\0\0\0\0\0"} cur = (struct sip_codec_pref *) 0x4249eb63 v = "v=0\r\n\0\0\0\0\0\0\0ÿÿÿÿI\0\0\0\003\0\0\0\001\0\0\0ÜY\203GÿpÜB\0\0 too elusive for me to figure out at 4:10am | ||
Comments: | By: jerjer (jerjer) 2004-01-12 03:28:29.000-0600 p->outkey[strlen(p->outkey) - 1] = '\0'; <--- chan_iax2.c:1881 By: Brian West (bkw918) 2004-01-12 10:54:21.000-0600 does this happen on the first call or every call. I seen this under valgrind on chan_sip also but only with the first call. |