2017-03-10 10:02:11 |
Jörg Hänsel |
bug |
|
|
added bug |
2017-03-10 10:07:35 |
Jörg Hänsel |
attachment added |
|
sprop-parameter-sets https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1671767/+attachment/4835157/+files/sprop-parameter-sets |
|
2017-03-20 08:17:03 |
Christian Ehrhardt |
tags |
|
patch server-next |
|
2017-03-20 08:17:12 |
Christian Ehrhardt |
bug |
|
|
added subscriber Ubuntu Server Team |
2017-03-20 08:17:13 |
Christian Ehrhardt |
bug |
|
|
added subscriber ChristianEhrhardt |
2017-03-20 08:17:18 |
Christian Ehrhardt |
asterisk (Ubuntu): status |
New |
Triaged |
|
2017-03-20 08:17:19 |
Christian Ehrhardt |
asterisk (Ubuntu): importance |
Undecided |
High |
|
2017-03-20 08:29:25 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Xenial |
|
2017-03-23 12:12:07 |
Christian Ehrhardt |
description |
asterisk 1:13.1.0~dfsg-1.1ubuntu4
lsb_release -rd:
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Bug details:
============
when dialing a h264 video sip device (Grandstream GXV3674_FHD_VF 1.0.3.17) asterisk crashes with a core dump:
Connected to Asterisk 13.1.0~dfsg-1.1ubuntu4 currently running on samson (pid = 29051)
samson*CLI> console dial waldorf@Phones
-- Executing [waldorf@Phones:1] Dial("Console/default", "SIP/waldorf,60") in new stack
== Using SIP VIDEO CoS mark 6
== Using SIP RTP CoS mark 5
-- Called SIP/waldorf
-- SIP/waldorf-00000000 is ringing
samson*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
Analysis:
=========
gdb reveals that the module "res_format_attr_h264.so" is resposible due to a memory allocation failure while examining tokens of the "sprop-parameter-sets" string in the SIP header.
Proposed Solution:
==================
This bug is already fixed by 2 small patches included in a more recenent versions of "res/res_format_attr_h264.c"
https://issues.asterisk.org/jira/browse/ASTERISK-24616
Crash in res_format_attr_h264 due to invalid string copy
https://issues.asterisk.org/jira/browse/ASTERISK-25573
[patch] H.264 format attribute module: resets whole SDP
This fixed version of "res/res_format_attr_h264.c" is included e.g. in asterisk (1:13.13.1~dfsg-4ubuntu1) zesty.
Fixed+Tested:
=============
I tested by rebuiling asterisk 1:13.1.0~dfsg-1.1ubuntu4 packages with the "res/res_format_attr_h264.c" taken from asterisk 1:13.13.1~dfsg-4ubuntu1 and could connect to the sip device without any problems.
I would be great, if you could add this patch into asterisk 1:13.1.0~dfsg-1.1ubuntu4, since I don't want to use self built debs on a 16.4 LTS production system.
Thanks a lot
Jörg |
[Impact]
========
when dialing a h264 video sip device (Grandstream GXV3674_FHD_VF 1.0.3.17) asterisk crashes with a core dump
[Test Case]
===========
1. See comment #6
[Regression Potential]
======================
Since the patch is already included in more recent versions of asterisk there is no regression.
Due to the location of code changes that are applied to - If an unexpected error manifests, it should be local to the h264 encoding which is broken today.
[Other Info]
============
none
---
asterisk 1:13.1.0~dfsg-1.1ubuntu4
lsb_release -rd:
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Bug details:
============
when dialing a h264 video sip device (Grandstream GXV3674_FHD_VF 1.0.3.17) asterisk crashes with a core dump:
Connected to Asterisk 13.1.0~dfsg-1.1ubuntu4 currently running on samson (pid = 29051)
samson*CLI> console dial waldorf@Phones
-- Executing [waldorf@Phones:1] Dial("Console/default", "SIP/waldorf,60") in new stack
== Using SIP VIDEO CoS mark 6
== Using SIP RTP CoS mark 5
-- Called SIP/waldorf
-- SIP/waldorf-00000000 is ringing
samson*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
Analysis:
=========
gdb reveals that the module "res_format_attr_h264.so" is resposible due to a memory allocation failure while examining tokens of the "sprop-parameter-sets" string in the SIP header.
Proposed Solution:
==================
This bug is already fixed by 2 small patches included in a more recenent versions of "res/res_format_attr_h264.c"
https://issues.asterisk.org/jira/browse/ASTERISK-24616
Crash in res_format_attr_h264 due to invalid string copy
https://issues.asterisk.org/jira/browse/ASTERISK-25573
[patch] H.264 format attribute module: resets whole SDP
This fixed version of "res/res_format_attr_h264.c" is included e.g. in asterisk (1:13.13.1~dfsg-4ubuntu1) zesty.
Fixed+Tested:
=============
I tested by rebuiling asterisk 1:13.1.0~dfsg-1.1ubuntu4 packages with the "res/res_format_attr_h264.c" taken from asterisk 1:13.13.1~dfsg-4ubuntu1 and could connect to the sip device without any problems.
I would be great, if you could add this patch into asterisk 1:13.1.0~dfsg-1.1ubuntu4, since I don't want to use self built debs on a 16.4 LTS production system.
Thanks a lot
Jörg |
|
2017-03-23 12:48:43 |
Jörg Hänsel |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2017-03-30 15:59:17 |
Nish Aravamudan |
bug task added |
|
asterisk (Ubuntu Xenial) |
|
2017-03-30 21:25:02 |
Nish Aravamudan |
asterisk (Ubuntu): status |
Triaged |
Fix Released |
|
2017-03-30 23:49:10 |
Nish Aravamudan |
attachment added |
|
asterisk.debdiff https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1671767/+attachment/4850924/+files/asterisk.debdiff |
|
2017-03-30 23:49:21 |
Nish Aravamudan |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2017-03-30 23:49:39 |
Nish Aravamudan |
asterisk (Ubuntu Xenial): status |
New |
In Progress |
|
2017-03-30 23:49:45 |
Nish Aravamudan |
bug |
|
|
added subscriber Nish Aravamudan |
2017-04-04 11:26:05 |
Łukasz Zemczak |
asterisk (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-04-04 11:26:06 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-04-04 11:26:08 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2017-04-04 11:26:11 |
Łukasz Zemczak |
tags |
patch server-next |
patch server-next verification-needed |
|
2017-04-04 18:32:11 |
Jörg Hänsel |
tags |
patch server-next verification-needed |
patch server-next verification-done |
|
2017-04-12 12:02:08 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-04-12 12:12:14 |
Launchpad Janitor |
asterisk (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|