delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/01/17:51:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC527D3.6050106@gmail.com>
Date: Thu, 01 Oct 2009 23:06:11 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: cygwin-ports-general AT lists DOT sourceforge DOT net
Subject: Re: latest libstdc++ causing ffmpeg & mplayer to segfault
References: <a07c15f00909300907v3b550276o7511fea29255832d AT mail DOT gmail DOT com> <4AC39420 DOT 20702 AT gmail DOT com> <a07c15f00910010713n24c387efm1d192e26d064e455 AT mail DOT gmail DOT com>
In-Reply-To: <a07c15f00910010713n24c387efm1d192e26d064e455@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Nathan Thern wrote:
> On Wed, Sep 30, 2009 at 12:23 PM, Dave Korn wrote:
>> Nathan Thern wrote:
>>> Yaakov-
>>> I thought I would bring this to your attention ...
>>  Compiler problems are always worth reporting on the main list too!
>>
>>> I just discovered that ffmpeg and mplayer are segfaulting on me. They
>>> had been working fine (thanks for providing them, by the way :-) ). I
>>> tracked down that the latest libstdc++ (libstdc++6-4.3.4-1 from the
>>> std distro) was causing it. Installing the previous version
>>> (libstdc++6-4.3.2-2) fixed things.
> 
> Hm... thanks for pointing that out. I figured it wasn't a compiler
> problem and that re-compiling the apps would fix things & we would be
> on our merry way. However, it may be that libstdc++6-4.3.4 is broken.

  The libstdc++ DLL itself is fine, but there is a back-compat bug in the
support code that implements the ONDEE wrappers in the Cygwin DLL.  I believe
I can fix that with a patch; in the meantime, it should suffice to rebuild
mplayer against up-to-date Cygwin.  The DLLs it links against are not affected
by this problem, so only the actual mplayer package needs a rebuild.

  (I can't say whether or not that also applies to ffmpeg; it might need some
of its DLLs updated as well, or you can hang on until I've got the back-compat
fix in the cygwin dll.)

    cheers,
      DaveK

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019