Asterisk crashes on 16.04 with fresh install due to res_pjsip.so
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/
;
; 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.
Candidate: 1:13.1.
Version table:
*** 1:13.1.
500 http://
100 /var/lib/
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.
ProcVersionSign
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.
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: asterisk
UpgradeStatus: No upgrade log present (probably fresh install)
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.