mailing list of musl libc
 help / color / mirror / code / Atom feed
From: JS <js@direct.lv>
To: musl@lists.openwall.com
Subject: Re: ffmpeg segfault with musl
Date: Wed, 18 Sep 2019 22:14:35 +0300	[thread overview]
Message-ID: <CALFw=eVUZ2ntJ9FQ1R8TfDf6MpN4pds9v64Ym2+GLO8Mf7iC5A@mail.gmail.com> (raw)
In-Reply-To: <20190918203158.28edce42@ncopa-desktop.copa.dup.pw>

On Wed, Sep 18, 2019 at 9:32 PM Natanael Copa <ncopa@alpinelinux.org> wrote:
>
> On Wed, 18 Sep 2019 16:22:06 +0300
> JS <js@direct.lv> wrote:
>
> > Hello
> >
> > Does anybody have experience/solution with ffmpeg segfaulting with musl?
> > The issue happens when mpd tries to play wav file that is decoded by
> > ffmpeg. Tested with musl 1.1.17 and 1.1.23 and both old and new ffmpeg
> > versions. This does not happen with uClibc on the same hardware.
>
> FWIW, There is a known issue with mpd and thread stack size:
> https://gitlab.alpinelinux.org/alpine/aports/issues/4448
>
> I think i sent the patch upstream years ago, but the response was
> something like musl was explicitly not supported because there is no
> __MUSL__ define or similar.
>
> I remember this because there are only two projects that I can remember
> that has responded that musl is explicitly not supported when sending
> patches, and mpd is one of them.
>
> -nc

I've increased stack size and could run my custom mpd build on Alpine
VM without segfaults. I'll test it on real hardware later on. Thanks a
lot for your help!


      reply	other threads:[~2019-09-18 19:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-18 13:22 JS
2019-09-18 13:50 ` Rich Felker
2019-09-18 16:13   ` A. Wilcox
2019-09-18 18:31 ` Natanael Copa
2019-09-18 19:14   ` JS [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='CALFw=eVUZ2ntJ9FQ1R8TfDf6MpN4pds9v64Ym2+GLO8Mf7iC5A@mail.gmail.com' \
    --to=js@direct.lv \
    --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).