From: "A. Wilcox" <awilfox@adelielinux.org>
To: musl@lists.openwall.com
Subject: Re: ffmpeg segfault with musl
Date: Wed, 18 Sep 2019 11:13:11 -0500 [thread overview]
Message-ID: <f0b0c160-ed4c-90b6-c3f6-29521556e782@adelielinux.org> (raw)
In-Reply-To: <20190918135036.GA9017@brightrain.aerifal.cx>
[-- Attachment #1.1: Type: text/plain, Size: 1742 bytes --]
On 18/09/2019 08:50, Rich Felker wrote:
> On Wed, Sep 18, 2019 at 04:22:06PM +0300, JS 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.
>
> I'm not aware of any such problem. Are there publicly available files
> you can reproduce the crash with? Is mpd necessary or does ffplay
> crash too? (easier test case)
>
> Rich
I'll note here if it helps that I've been *incredibly* rough with ffplay
and other ffmpeg consumers (including Firefox, Audacious, VLC) and I've
never experienced an ffmpeg-related segfault on Adélie, ppc64 + x86_64.
By "rough" I mean "files wrongly encoded by misbehaving programs", in
addition to a wide swath of formats. I wanted to make sure that there
wouldn't be any issues playing back any media.
I've personally tested WAV (16-bit LE and 8-bit LE), AIFF (BE only),
FLAC, AU (Sun only), MP2, MP3, M4A/AAC, Apple Lossless, Opus, WebM
Audio, and CDDA (audio CDs).
I'd be *very* curious to see an example WAV file as well, if they are
unique in any way; this could even be a security-adjacent bug if there
really is a buffer issue in mpd or ffmpeg.
I'm also interested in what the audio stack looks like. For example, is
this playing back to the ALSA back-end, Pulse, SDL, socket, sndio? I
*have* seen a bit of trouble out of the ALSA back end at times, and the
SDL output has been no end of trouble.
Best,
--arw
--
A. Wilcox (awilfox)
Project Lead, Adélie Linux
https://www.adelielinux.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-09-18 16:13 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 [this message]
2019-09-18 18:31 ` Natanael Copa
2019-09-18 19:14 ` JS
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=f0b0c160-ed4c-90b6-c3f6-29521556e782@adelielinux.org \
--to=awilfox@adelielinux.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).