Bug#725925: asterisk: Segfault on incoming SIP call with res_ldap

Dominik George nik at naturalnet.de
Thu Oct 10 01:03:53 UTC 2013


Package: asterisk
Version: 1:11.5.1~dfsg1-1
Severity: normal

__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
31      ../sysdeps/x86_64/multiarch/../strlen.S: Datei oder Verzeichnis nicht gefunden.
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#1  0x00007fffa72be5d1 in realtime_multi_ldap (basedn=<optimized out>, table_name=0x7fffc6043980 "sip", ap=0x7fffc6043868)
    at res_config_ldap.c:976
#2  0x0000000000488dfd in ast_load_realtime_multientry (family=family at entry=0x7fffa2c6002b "sippeers") at config.c:2677
#3  0x00007fffa2bf411d in get_insecure_variable_from_sippeers (column=column at entry=0x7fffa2c6179b "host", 
    value=value at entry=0x7fffc6043c10 "188.246.0.82") at chan_sip.c:5281
#4  0x00007fffa2c35e63 in realtime_peer_by_addr (varregs=0x0, var=<synthetic pointer>, callbackexten=0x7fffc60483e4 "s", 
    ipaddr=0x7fffc6043c10 "188.246.0.82", addr=0x49a0, name=<synthetic pointer>) at chan_sip.c:5467
#5  realtime_peer (which_objects=2, devstate_only=0, callbackexten=0x7fffc60483e4 "s", addr=0x49a0, newpeername=0x0) at chan_sip.c:5565
#6  sip_find_peer_full (peer=peer at entry=0x0, addr=addr at entry=0x7fff8c03e6a8, callbackexten=0x7fffc60483e4 "s", realtime=realtime at entry=1, 
    which_objects=which_objects at entry=2, devstate_only=devstate_only at entry=0, transport=1) at chan_sip.c:5678
#7  0x00007fffa2c4b44e in sip_find_peer_by_ip_and_exten (transport=<optimized out>, callbackexten=<optimized out>, addr=0x7fff8c03e6a8)
    at chan_sip.c:5722
#8  check_peer_ok (p=p at entry=0x7fff8c039d08, of=0x7fffc60485d6 "017662754107", req=<optimized out>, sipmethod=<optimized out>, 
    addr=0x7fffc604ad00, authpeer=<optimized out>, reliable=XMIT_RELIABLE, uri2=uri2 at entry=0x7fffc60484f0 "sip:s at 89.238.64.147:5060", 
    calleridname=0x7fffc6048580 "+4917662754107") at chan_sip.c:18058
#9  0x00007fffa2c4be37 in check_user_full (p=p at entry=0x7fff8c039d08, req=req at entry=0x7fffc604a290, sipmethod=sipmethod at entry=5, 
    uri=uri at entry=0x7fff8c00a97f "sip:s at 89.238.64.147:5060", reliable=reliable at entry=XMIT_RELIABLE, addr=<optimized out>, 
    authpeer=authpeer at entry=0x7fffc6048798) at chan_sip.c:18371
#10 0x00007fffa2c4f1dd in handle_request_invite (p=p at entry=0x7fff8c039d08, req=req at entry=0x7fffc604a290, addr=addr at entry=0x7fffc604ad00, 
    seqno=<optimized out>, recount=recount at entry=0x7fffc604a248, e=e at entry=0x7fff8c00a97f "sip:s at 89.238.64.147:5060", 
    nounlock=nounlock at entry=0x7fffc604a24c) at chan_sip.c:25276
#11 0x00007fffa2c54a95 in handle_incoming (p=p at entry=0x7fff8c039d08, req=req at entry=0x7fffc604a290, addr=addr at entry=0x7fffc604ad00, 
    recount=recount at entry=0x7fffc604a248, nounlock=nounlock at entry=0x7fffc604a24c) at chan_sip.c:28153
#12 0x00007fffa2c56eae in handle_request_do (req=req at entry=0x7fffc604a290, addr=addr at entry=0x7fffc604ad00) at chan_sip.c:28364
---Type <return> to continue, or q <return> to quit---
#13 0x00007fffa2c58bd8 in sipsock_read (id=<optimized out>, fd=<optimized out>, events=<optimized out>, ignore=<optimized out>)
    at chan_sip.c:28293
#14 0x00000000004cbb52 in ast_io_wait (ioc=0xf2c1f0, howlong=<optimized out>) at io.c:292
#15 0x00007fffa2c34814 in do_monitor (data=data at entry=0x0) at chan_sip.c:28893
#16 0x000000000054094a in dummy_start (data=<optimized out>) at utils.c:1093
#17 0x00007ffff67a5e0e in start_thread (arg=0x7fffc604b700) at pthread_create.c:311
#18 0x00007ffff7b179ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk depends on:
ii  adduser                                       3.113+nmu3
ii  asterisk-config                               1:11.5.1~dfsg1-1
ii  asterisk-core-sounds-en [asterisk-prompt-en]  1.4.22-1
ii  asterisk-core-sounds-en-gsm                   1.4.22-1
ii  asterisk-modules                              1:11.5.1~dfsg1-1
ii  libc6                                         2.17-93
ii  libcap2                                       1:2.22-1.2
ii  libgcc1                                       1:4.8.1-10
ii  libsqlite3-0                                  3.8.0.2-1
ii  libssl1.0.0                                   1.0.1e-3
ii  libstdc++6                                    4.8.1-10
ii  libtinfo5                                     5.9+20130608-1
ii  libxml2                                       2.9.1+dfsg1-3

Versions of packages asterisk recommends:
ii  asterisk-moh-opsound-gsm                         2.03-1
ii  asterisk-voicemail [asterisk-voicemail-storage]  1:11.5.1~dfsg1-1
ii  sox                                              14.4.1-3

Versions of packages asterisk suggests:
pn  asterisk-dahdi   <none>
pn  asterisk-dev     <none>
pn  asterisk-doc     <none>
ii  asterisk-ooh323  1:11.5.1~dfsg1-1

-- no debconf information



More information about the Pkg-voip-maintainers mailing list