mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Asterisk 16 segmentation fault
Date: Tue, 28 May 2019 16:21:00 -0400	[thread overview]
Message-ID: <20190528202100.GK23599@brightrain.aerifal.cx> (raw)
In-Reply-To: <20190527201442.GA2550@darth.lan>

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 <inttypes.h>
>  #include <limits.h>
>  #include <unistd.h>
> +#include <pthread.h>
> 
>  #ifdef HAVE_STDDEF_H
>  #include <stddef.h>
> 
> 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


      reply	other threads:[~2019-05-28 20:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 20:27 Sebastian Kemper
2019-02-28 21:15 ` Rich Felker
2019-02-28 21:32   ` Jeffrey Walton
2019-02-28 21:19 ` Szabolcs Nagy
2019-02-28 22:01   ` Sebastian Kemper
2019-03-02 17:16   ` Sebastian Kemper
2019-03-02 17:36     ` Rich Felker
2019-03-02 17:59       ` Sebastian Kemper
2019-05-27 20:14         ` Sebastian Kemper
2019-05-28 20:21           ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190528202100.GK23599@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).