Asterisk crashes on 16.04 with fresh install due to res_pjsip.so

Bug #1631101 reported by Sean Sosik-Hamor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
asterisk (Ubuntu)
New
Undecided
Unassigned

Bug Description

After a fresh installation of Ubuntu Xenial 16.04 amd64, Asterisk crashes on start. Both with the default /etc/asterisk configs as installed and with our previous Trusty /etc/asterisk configs.

Reproducible on two separate Xenial server installs.

I had to add the following to /etc/asterisk/modules.conf to prevent Asterisk from crashing on start:

;
; Asterisk configuration file
;
; Module Loader configuration file
;

[modules]
autoload=yes
noload => res_pjsip.so

Google searches show this is a recurring problem as early as 2014 and is caused by statically linking res_pjsip.so.

root@letronne:~# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
root@letronne:~# apt policy asterisk
asterisk:
  Installed: 1:13.1.0~dfsg-1.1ubuntu4
  Candidate: 1:13.1.0~dfsg-1.1ubuntu4
  Version table:
 *** 1:13.1.0~dfsg-1.1ubuntu4 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status
root@letronne:~# uname -a
Linux letronne 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@letronne:~# grep model /proc/cpuinfo
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
model : 94
model name : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
root@letronne:~#

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: asterisk 1:13.1.0~dfsg-1.1ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Thu Oct 6 19:28:34 2016
InstallationDate: Installed on 2016-10-03 (3 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=screen.xterm-256color
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: asterisk
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sean Sosik-Hamor (sciri) wrote :
Revision history for this message
Sean Sosik-Hamor (sciri) wrote :
Revision history for this message
Sean Sosik-Hamor (sciri) wrote :
Revision history for this message
Sean Sosik-Hamor (sciri) wrote :

One system core dumps. One system does not. The line before core dump is:

asterisk: ../src/pjsip-simple/evsub.c:415: pjsip_evsub_register_pkg: Assertion `mod_evsub.mod.id != -1' failed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.