[OpenSIPS-Users] ICE +mediaproxy

giti at dataproducts.ae giti at dataproducts.ae
Tue May 17 23:58:05 CEST 2011


Hi
Thanks for your advise, i have checked in /var/log/messages and i found
this :
May 17 17:44:46 techdata abrt[3666]: saved core dump of pid 3643
(/usr/sbin/opensips) to /var/spool/abrt/ccpp-1305668686-3643.new/coredump
(36683776 bytes)
May 17 17:44:46 techdata abrtd: Directory 'ccpp-1305668686-3643' creation
detected
May 17 17:44:46 techdata opensips[3654]: CRITICAL:core:receive_fd: EOF on 7


seems Directory 'ccpp-1305668686-3643' should be the directory which
coredume is held, but when i get ls , there is no this dircory  !!!
anyway , under /var/spool/abrt/  i have two other coredump and i did bt
for these two as below :


the first one :
(gdb) bt
#0  0x00007f03d059b0c5 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f03d059ca76 in abort () at abort.c:92
#2  0x00007f03d05d7cfb in __libc_message (do_abort=2, fmt=0x7f03d06c58b5
"*** %s ***: %s terminated\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:186
#3  0x00007f03d0662127 in __fortify_fail (msg=0x7f03d06c585b "buffer
overflow detected") at fortify_fail.c:32
#4  0x00007f03d0660100 in __chk_fail () at chk_fail.c:29
#5  0x00007f03d065f549 in _IO_str_chk_overflow (fp=0x82c, c=2092) at
vsprintf_chk.c:35
#6  0x00007f03d05db498 in _IO_default_xsputn (f=0x7fff91767830,
data=<value optimized out>, n=10) at genops.c:485
#7  0x00007f03d05ae6e4 in _IO_vfprintf_internal (s=<value optimized out>,
format=<value optimized out>, ap=<value optimized out>) at vfprintf.c:1597
#8  0x00007f03d065f5ed in ___vsprintf_chk (s=0x7fff9176c010
"a=candidate:R1c06aa53 1 UDP 16777215 83.170.6.28 50018 typ rela",
flags=1, slen=64,
    format=0x7f03cca40b88 "a=candidate:R%x 1 UDP %u %.*s %i typ
relay%.*s", args=0x7fff91767960) at vsprintf_chk.c:87
#9  0x00007f03d065f52f in ___sprintf_chk (s=<value optimized out>,
flags=<value optimized out>, slen=<value optimized out>, format=<value
optimized out>)
    at sprintf_chk.c:33
#10 0x00007f03cca3d543 in sprintf (msg=0x77ce68, dialog_id=0x7f0300000001
<Address 0x7f0300000001 out of bounds>, ice_data=0x0)
    at /usr/include/bits/stdio2.h:34
#11 use_media_proxy (msg=0x77ce68, dialog_id=0x7f0300000001 <Address
0x7f0300000001 out of bounds>, ice_data=0x0) at mediaproxy.c:1727
#12 0x0000000000416183 in do_action (a=0x778c30, msg=0x77ce68) at
action.c:1195
#13 0x0000000000419003 in run_action_list (a=<value optimized out>,
msg=0x77ce68) at action.c:140
#14 0x0000000000417ca2 in do_action (a=0x779288, msg=0x77ce68) at
action.c:819
#15 0x0000000000419003 in run_action_list (a=<value optimized out>,
msg=0x77ce68) at action.c:140
#16 0x0000000000417956 in run_actions (a=0x778928, msg=0x77ce68) at
action.c:120
#17 do_action (a=0x778928, msg=0x77ce68) at action.c:488
#18 0x0000000000419003 in run_action_list (a=<value optimized out>,
msg=0x77ce68) at action.c:140
#19 0x00000000004193c8 in run_actions (a=0x770b80, msg=0x77ce68) at
action.c:120
#20 run_top_route (a=0x770b80, msg=0x77ce68) at action.c:181
#21 0x000000000041da7f in receive_msg (buf=<value optimized out>,
len=<value optimized out>, rcv_info=<value optimized out>) at
receive.c:162
#22 0x0000000000446069 in udp_rcv_loop () at udp_server.c:492
#23 0x000000000046aa65 in main_loop (argc=<value optimized out>,
argv=<value optimized out>) at main.c:824
#24 main (argc=<value optimized out>, argv=<value optimized out>) at
main.c:1393



and the second one :
(gdb) bt
#0  0x0000003c2b8330c5 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x0000003c2b834a76 in abort () at abort.c:92
#2  0x0000003c2b86fcfb in __libc_message (do_abort=2, fmt=0x3c2b95d8b5
"*** %s ***: %s terminated\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:186
#3  0x0000003c2b8fa127 in __fortify_fail (msg=0x3c2b95d85b "buffer
overflow detected") at fortify_fail.c:32
#4  0x0000003c2b8f8100 in __chk_fail () at chk_fail.c:29
#5  0x0000003c2b8f7549 in _IO_str_chk_overflow (fp=0x3658, c=13912) at
vsprintf_chk.c:35
#6  0x0000003c2b873498 in _IO_default_xsputn (f=0x7fff2a383c50,
data=<value optimized out>, n=10) at genops.c:485
#7  0x0000003c2b8466e4 in _IO_vfprintf_internal (s=<value optimized out>,
format=<value optimized out>, ap=<value optimized out>) at vfprintf.c:1597
#8  0x0000003c2b8f75ed in ___vsprintf_chk (s=0x7fff2a388430
"a=candidate:R1c06aa53 1 UDP 16777215 83.170.6.28 50002 typ rela",
flags=1, slen=64,
    format=0x7f7d7dc61b88 "a=candidate:R%x 1 UDP %u %.*s %i typ
relay%.*s", args=0x7fff2a383d80) at vsprintf_chk.c:87
#9  0x0000003c2b8f752f in ___sprintf_chk (s=<value optimized out>,
flags=<value optimized out>, slen=<value optimized out>, format=<value
optimized out>)
    at sprintf_chk.c:33
#10 0x00007f7d7dc5e543 in sprintf (msg=0x77e490, dialog_id=0x7f7d00000001
<Address 0x7f7d00000001 out of bounds>, ice_data=0x0)
    at /usr/include/bits/stdio2.h:34
#11 use_media_proxy (msg=0x77e490, dialog_id=0x7f7d00000001 <Address
0x7f7d00000001 out of bounds>, ice_data=0x0) at mediaproxy.c:1727
#12 0x0000000000416183 in do_action (a=0x779548, msg=0x77e490) at
action.c:1195
#13 0x0000000000419003 in run_action_list (a=<value optimized out>,
msg=0x77e490) at action.c:140
#14 0x0000000000417ca2 in do_action (a=0x779ba0, msg=0x77e490) at
action.c:819
#15 0x0000000000419003 in run_action_list (a=<value optimized out>,
msg=0x77e490) at action.c:140
#16 0x0000000000417956 in run_actions (a=0x779240, msg=0x77e490) at
action.c:120
#17 do_action (a=0x779240, msg=0x77e490) at action.c:488
#18 0x0000000000419003 in run_action_list (a=<value optimized out>,
msg=0x77e490) at action.c:140
#19 0x00000000004193c8 in run_actions (a=0x771328, msg=0x77e490) at
action.c:120
#20 run_top_route (a=0x771328, msg=0x77e490) at action.c:181
#21 0x000000000041da7f in receive_msg (buf=<value optimized out>,
len=<value optimized out>, rcv_info=<value optimized out>) at
receive.c:162
#22 0x0000000000446069 in udp_rcv_loop () at udp_server.c:492
#23 0x000000000046aa65 in main_loop (argc=<value optimized out>,
argv=<value optimized out>) at main.c:824
#24 main (argc=<value optimized out>, argv=<value optimized out>) at
main.c:1393
(gdb)



i dont  know if it helps or not, looking forward to have your reply .
By the way , i got if i do killall opensips and then opensips restart ,
the trick way dose not work also

thanks
giti





More information about the Users mailing list