From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14154 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Asterisk 16 segmentation fault Date: Tue, 28 May 2019 16:21:00 -0400 Message-ID: <20190528202100.GK23599@brightrain.aerifal.cx> References: <20190228202751.GB31965@darth.lan> <20190228211901.GJ21289@port70.net> <20190302171641.GA1760@darth.lan> <20190302173609.GJ23599@brightrain.aerifal.cx> <20190302175948.GA1872@darth.lan> <20190527201442.GA2550@darth.lan> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="152707"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14170-gllmg-musl=m.gmane.org@lists.openwall.com Tue May 28 22:21:15 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hViax-000dcC-1f for gllmg-musl@m.gmane.org; Tue, 28 May 2019 22:21:15 +0200 Original-Received: (qmail 1357 invoked by uid 550); 28 May 2019 20:21:13 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1330 invoked from network); 28 May 2019 20:21:12 -0000 Content-Disposition: inline In-Reply-To: <20190527201442.GA2550@darth.lan> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14154 Archived-At: On Mon, May 27, 2019 at 10:14:42PM +0200, Sebastian Kemper wrote: > On Sat, Mar 02, 2019 at 06:59:48PM +0100, Sebastian Kemper wrote: > > On Sat, Mar 02, 2019 at 12:36:09PM -0500, Rich Felker wrote: > > > Please be aware: This is just fixing the crash, but isn't fixing the > > > logic error in the Asterisk software that led to it. I'm pretty sure > > > module loading is not working correctly. Actually fixing this is going > > > to be a much bigger task. > > > > Hi Rich, > > > > Thanks, I mentioned that. > > > > https://issues.asterisk.org/jira/browse/ASTERISK-28319 > > > > Kind regards, > > Seb > > Hi all, > > All is well that ends well. With help from Corey from Asterisk upstream we > added some code to support permanent dlopen, which can be activated via > "configure --enable-permanent-dlopen". > > https://gerrit.asterisk.org/c/asterisk/+/11217 > > The code has been queued for Asterisk 16.4.0 and is already in OpenWrt > trunk. > > The other problem we had (regarding the redefinitions in astmm.h) we fixed with > a small patch that was suggested by Timo from Alpine Linux. > > --- a/include/asterisk/compat.h > +++ b/include/asterisk/compat.h > @@ -30,6 +30,7 @@ > #include > #include > #include > +#include > > #ifdef HAVE_STDDEF_H > #include > > Thanks again for your support! Thanks for the update! It's nice to know this should be working correctly now without hacks or silent breakage. Rich