[Bug 795235] xvimagesink fails: unexpected XShm image size

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 17 16:20:12 UTC 2018


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

--- Comment #2 from David Woodhouse <dwmw2 at infradead.org> ---
0:00:00.745133977 14704       0x80e2d0 DEBUG                basesrc
gstbasesrc.c:3146:gst_base_src_prepare_allocation:<videotestsrc0> ALLOCATION
(1) params: allocation query: 0x7fffec003190, GstQueryAllocation,
caps=(GstCaps)"video/x-raw\,\ format\=\(string\)YV12\,\ width\=\(int\)905\,\
height\=\(int\)720\,\ framerate\=\(fraction\)30/1\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive",
need-pool=(boolean)true, pool=(GArray)NULL, meta=(GArray)NULL,
allocator=(GArray)NULL;
0:00:00.745187131 14704       0x80e2d0 DEBUG                basesrc
gstbasesrc.c:2971:gst_base_src_set_allocation:<videotestsrc0> activate pool
0:00:00.745194672 14704       0x80e2d0 LOG               bufferpool
gstbufferpool.c:473:gst_buffer_pool_set_active:<xvimagebufferpool1> active 1
0:00:00.745202290 14704       0x80e2d0 LOG               bufferpool
gstbufferpool.c:349:do_start:<xvimagebufferpool1> starting
0:00:00.745209179 14704       0x80e2d0 LOG               GST_BUFFER
gstbuffer.c:727:gst_buffer_new: new 0x80f680
0:00:00.745221075 14704       0x80e2d0 DEBUG       xvimageallocator
xvimageallocator.c:371:gst_xvimage_allocator_alloc:<xvimageallocator0> creating
image 0x7fffec010000 (905x720) cropped 0x0-905x720
0:00:00.745285108 14704       0x80e2d0 LOG         xvimageallocator
xvimageallocator.c:406:gst_xvimage_allocator_alloc:<xvimageallocator0> XShm
image size is 979200
0:00:00.745294230 14704       0x80e2d0 DEBUG       xvimageallocator
xvimageallocator.c:430:gst_xvimage_allocator_alloc:<xvimageallocator0> Plane 0
has a expected pitch of 908 bytes, offset of 0
0:00:00.745303200 14704       0x80e2d0 DEBUG       xvimageallocator
xvimageallocator.c:430:gst_xvimage_allocator_alloc:<xvimageallocator0> Plane 1
has a expected pitch of 454 bytes, offset of 653760
0:00:00.745311829 14704       0x80e2d0 DEBUG       xvimageallocator
xvimageallocator.c:430:gst_xvimage_allocator_alloc:<xvimageallocator0> Plane 2
has a expected pitch of 454 bytes, offset of 817200
error size

Thread 3 "videotestsrc0:s" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff37f4700 (LWP 14709)]
gst_xvimage_allocator_alloc (allocator=0x63e350 [GstXvImageAllocator],
im_format=<optimised out>, info=info at entry=0x7fffec00e370,
padded_width=<optimised out>, padded_height=<optimised out>,
crop=crop at entry=0x7fffec00e35c, error=0x7ffff37f3c90)
    at xvimageallocator.c:535
535        *(int *)0 = 0;
(gdb) p mem->xvimage->data_size 
$1 = 979200
(gdb) p mem->xvimage->offsets[0]
$2 = 0
(gdb) p mem->xvimage->offsets[1]
$3 = 653760
(gdb) p mem->xvimage->offsets[2]
$4 = 816480
(gdb) p mem->xvimage->pitches[0]
$5 = 908
(gdb) p mem->xvimage->pitches[1]
$6 = 452
(gdb) p mem->xvimage->pitches[2]
$7 = 452
(gdb)

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