[gstreamer-bugs] [Bug 335013] Check for busted posix_memalign

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Oct 9 04:29:13 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=335013

  GStreamer | gst-ffmpeg | Ver: 0.10.0


Jens Granseuer changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #6 from Jens Granseuer  2006-10-09 11:28 UTC -------
So, for the record: No, the problematic piece of code comes from gst-ffmpeg
itself replacing the use of memalign (used upstream) with posix_memalign, which
is broken with glibc < 2.3 und usually returns NULL -> segfault.

Even if this gst modification is not reverted (as requested in bug 172961), I
think the above patch is completely safe since it only falls back to memalign
if posix_memalign is found to be non-functional. It can't get worse than
segfaulting in any case.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list