[Bug 754120] avdec_hevc: Segfault in hevc decode with glimagesink and AVX2 CPU feature

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 8 07:27:41 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754120

--- Comment #18 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
(In reply to Sebastian Dröge (slomo) from comment #17)
> Or the GstVideoAlignment stuff in glimagesink is not 100% correct yet. IIRC
> Tim said that it only fails with glimagesink but not with xvimagesink?

I was trying to say this can be explained by xvimagesink having 1 big buffer
allocated, while glimagesink have N independent allocations. If you overshoot
xvimagesink allocation, you will generally not crash, but with glimagesink, if
you fall out of the last page, you are likely to crash. Some SIMD instructions
can confuse valgrind, so I would not trust it here.

Another fact, is that xvimagesink (and generic videopool) will add some extra
padding lines between planes, glimagesink does not do that, there is no obvious
reason to (upstream should be requesting that if needed).

-- 
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