<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37149</bug_id>
          
          <creation_ts>2019-08-28 10:54:28 +0300</creation_ts>
          <short_desc>Asterisk падает с segfaul при получении запроса REGISTER</short_desc>
          <delta_ts>2019-08-28 15:17:00 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>asterisk</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitriy Shadrinov">shadrinov</reporter>
          <assigned_to name="turbid@altlinux.org">turbid</assigned_to>
          <cc>turbid</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>183899</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitriy Shadrinov">shadrinov</who>
    <bug_when>2019-08-28 10:54:28 +0300</bug_when>
    <thetext>При получении запроса:

asterisk*CLI&gt; pjsip set logger host 192.168.62.136
PJSIP Logging Enabled for host: 192.168.62.136
&lt;--- Received SIP request (616 bytes) from UDP:192.168.62.136:5060 ---&gt;
REGISTER sip:voip.eks:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.62.136:5060;branch=z9hG4bK3141623575
From: &lt;sip:hp-user@voip.eks:5060&gt;;tag=2253349533
To: &lt;sip:hp-user@voip.eks:5060&gt;
Call-ID: 0_587400838@192.168.62.136
CSeq: 1 REGISTER
Contact: &lt;sip:hp-user@192.168.62.136:5060&gt;
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T19P_E2 53.81.15.2
Expires: 3600
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0

Asterisk падает с:
[431823.510198] asterisk[15326]: segfault at 48 ip 00007fa6410520bb sp 00007fa640271990 error 4 in res_pjsip.so[7fa64103c000+33000]
[431823.510203] Code: 75 9f 48 89 df 48 8d 6c 24 50 e8 a0 ad fe ff 48 89 ef e8 68 a3 fe ff 48 8b 83 a8 04 00 00 48 8d bb d0 04 00 00 48 89 7c 24 60 &lt;48&gt; 8b 40 48 89 44 24 50 e8 38 ab fe ff 4c 8b 63 10 c7 44 24 70 01</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183900</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitriy Shadrinov">shadrinov</who>
    <bug_when>2019-08-28 10:55:18 +0300</bug_when>
    <thetext>[root@asterisk.eks asterisk]# rpm -qi asterisk
Name        : asterisk
Version     : 16.4.0
Release     : alt1
DistTag     : sisyphus+233345.300.5.1
Architecture: x86_64
Install Date: Вт 27 авг 2019 09:12:59
Group       : System/Servers
Size        : 17468754
License     : GPL
Signature   : DSA/SHA1, Пт 28 июн 2019 18:31:58, Key ID 95c584d5ae4ae412
Source RPM  : asterisk-16.4.0-alt1.src.rpm
Build Date  : Пт 28 июн 2019 18:29:00
Build Host  : sbolshakov-sisyphus.hasher.altlinux.org
Relocations : (not relocatable)
Packager    : Sergey Bolshakov &lt;sbolshakov@altlinux.org&gt;
Vendor      : ALT Linux Team
URL         : https://www.asterisk.org/
Summary     : Open source PBX</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183905</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-08-28 15:17:00 +0300</bug_when>
    <thetext>asterisk-16.4.1-alt1 -&gt; sisyphus:

Wed Aug 28 2019 Sergey Bolshakov &lt;sbolshakov@altlinux.ru&gt; 16.4.1-alt1
- 16.4.1 released
- built with bundled pjproject (closes: 37149)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>