From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14694 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: JS Newsgroups: gmane.linux.lib.musl.general Subject: Re: ffmpeg segfault with musl Date: Wed, 18 Sep 2019 22:14:35 +0300 Message-ID: References: <150f8535-83a7-b7a0-d11d-8efc54d60348@direct.lv> <20190918203158.28edce42@ncopa-desktop.copa.dup.pw> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="98594"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com Original-X-From: musl-return-14710-gllmg-musl=m.gmane.org@lists.openwall.com Wed Sep 18 21:15:04 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 1iAfPr-000PVK-Se for gllmg-musl@m.gmane.org; Wed, 18 Sep 2019 21:15:03 +0200 Original-Received: (qmail 1967 invoked by uid 550); 18 Sep 2019 19:15:01 -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 1945 invoked from network); 18 Sep 2019 19:15:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=direct-lv.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=cGlG7MNNzaijXiMOaj22z2ow2xMfr7bit/wC1zRFp5I=; b=akEdGrcj8emVMd8bK6GT+tZcwrGLeb9+fvRsLTfn7kYkovSbSarSMoaO+j2VwB/Qou uM1ETpId5KNGmzeK/SI7edYhqWHJwOnCGG4Dd66kBF7ry+IHZrGvCqbPagG3igrxQhGs SUx8dva9ecJQdyCZCWVFhRRinTojc3bZ1cZrnpAJJjLzgRFwqS+HhM6C4i3/3lsMGELQ zZdRJsCQjXU0iFbvmGWMHTjI5KdDaQ82Yep5zH5y+vTq3CoCmv/KG0f/f+giGObhTXo3 w/EUdhYjyOfEY0mEwcGDY3FP8qTA9wqhNUcYjCiV8ZwxiLlKNl5ST/ULUNDGq2S2qTBk Ehow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=cGlG7MNNzaijXiMOaj22z2ow2xMfr7bit/wC1zRFp5I=; b=IjyMyJ7dfcoqCyUpCoRXXqxnsFxn2vKf1XsVRPFH1DmbIf1ux7jI8DsO3iHQGIkD8+ iyaVbP+iUGRTpCAFNvra1CT3Y103Xdk9eGjqpJE42LPKpQr5GLoucbVtU/TBCQTxwKHU lP56ljemfpl2YfJ0AuonRBh1hq0UR7Neb40VeKX7PE+26cT+ENMoLB7QqqZnjC4KQAkk aRWahCERx3GEy8i1KpQ7ac8MhshMfH3zSYOKGdcKyR76K5FwJvVWr6+ndTjvjPuwNfhy tZx0jIbZoZfZV5g94QHM6Y0EA205J6LWXk+DeFWhm7rW8PVagZlM9gjltQ4JJ/hMfRGX Bx5A== X-Gm-Message-State: APjAAAW0KYBFGXIUgVnGtWlrLowxG0XX4fPgchYLqGtK0tztIbL8HPAL 26QWBfxkZ4XhGPfL25rQntxN6P2HZ6OTpO1s69AtEgV7ZWBytwDe X-Google-Smtp-Source: APXvYqye/3xkDdN3LXVKJyrWTAYW1J2ttk3yfkYC/tfHvf7zdBF7uclsNuoGBijIgW5rIWll7H5w1XNZyZtn99KQezU= X-Received: by 2002:a05:6402:184d:: with SMTP id v13mr12462281edy.56.1568834089141; Wed, 18 Sep 2019 12:14:49 -0700 (PDT) In-Reply-To: <20190918203158.28edce42@ncopa-desktop.copa.dup.pw> Xref: news.gmane.org gmane.linux.lib.musl.general:14694 Archived-At: On Wed, Sep 18, 2019 at 9:32 PM Natanael Copa wrote: > > On Wed, 18 Sep 2019 16:22:06 +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. > > 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!