[Bug 680796] New: Crash because of misaligned frame data
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Jul 29 10:07:13 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=680796
GStreamer | gst-ffmpeg | git
Summary: Crash because of misaligned frame data
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-ffmpeg
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: rawoul at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I get a crash when using a libav decoder in my pipeline and when direct
rendering is enabled. In this case the output frame buffers are allocated by a
downstream buffer pool.
The crash happens in the put_pixels16_sse2() function in
libavcodec/x86/dsputil_mmx.c:455. It happens because this function assumes that
the output data is aligned on 16 bytes boundaries, and it is not the case. I
can confirm that changing the movdqa instructions in this function to movdqu
fixes the problem.
The problem should be fixed in gst-ffmepg by forcing the plane data of the
output buffers allocated from the buffer pool to be 16-bytes aligned.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list