[Home]

Summary:ASTERISK-27269: asterisk doesn't work with latest rhel/centos 7.4 kernel
Reporter:Dmitry Melekhov (slesru)Labels:
Date Opened:2017-09-14 00:05:46Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:
Versions:13.17.1 Frequency of
Occurrence
Related
Issues:
Environment:Centos 7.4Attachments:
Description:Hello!

asterisk 13.17.1  works on  kernel 3.10.0-514.26.2.el7.x86_64 , but
7.4  has kernel 3.10.0-693.2.2.el7.x86_64
and  here we have problem:

[root@ast-reserve asterisk-13.17.1]# asterisk  --version
FATAL: ThreadSanitizer can not mmap the shadow memory (something is mapped at 0x5574cef64000 < 0x7cf000000000)
FATAL: Make sure to compile with -fPIE and to link with -pie.

always reproducible.

btw, selinux is disabled on this system.

Thank you!
Comments:By: Asterisk Team (asteriskteam) 2017-09-14 00:05:47.642-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Sean Bright (seanbright) 2017-09-14 08:45:53.285-0500

Did you build from source? If so, what options (if any) did you pass to {{./configure}}?

By: Dmitry Melekhov (slesru) 2017-09-14 09:38:26.889-0500

yes, it is built from sources after upgrade to centos 7.4 on the same system.
but 13.16.0, built before upgrade from 7.3 to 7.4, failed to start with almost the same error after OS reboot with new kernel.

here is  my configure:

./configure --with-pjproject-bundled

Thank you!

btw, other software I use on the same system looks good.


By: George Joseph (gjoseph) 2017-09-14 09:41:36.528-0500

I can reproduce this by just doing a yum update on 6.3.  
For now, disable THREAD_SANITIZER in menuselect/Compiler Flags or uninstall libtsan.




By: Sean Bright (seanbright) 2017-09-14 09:45:20.482-0500

I can't reproduce this on a fresh install of CentOS 7.4 and Asterisk 13 from Git:

{noformat}
[root@localhost asterisk]# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)
[root@localhost asterisk]#
[root@localhost asterisk]# uname -a
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost asterisk]#
[root@localhost asterisk]# asterisk --version
asterisk: invalid option -- '-'
[root@localhost asterisk]#
[root@localhost asterisk]# asterisk -V
Asterisk GIT-13-13.15.0-rc1-461-g1aef4fe
{noformat}

{{libtsan}} is not installed by default.

By: Dmitry Melekhov (slesru) 2017-09-14 09:59:27.766-0500

Thank you!

Disabling  THREAD_SANITIZER  helps.

btw, I don't have fresh install, it is quite old system and I don' remember why I installed libtsan :-(



By: Corey Farrell (coreyfarrell) 2017-10-20 18:03:58.982-0500

[~slavon] do you have any ideas about this?