[Bug 761505] New: videoconvert / xvimagesink segment fault
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Feb 3 14:13:42 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761505
Bug ID: 761505
Summary: videoconvert / xvimagesink segment fault
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: james at stev.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
When running
gst-launch-1.0 -v videotestsrc num-buffers=2 ! videoconvert ! video/x-raw,
format=GRAY8 ! videoconvert ! xvimagesink
I get a core. When I change xvimagesink to ximagesink. It seems to work
perfectly fine.
when it cores I get the following stack trace
(gdb) bt
#0 0x00007fe422abb53d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fe422d3afd8 in g_usleep () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x000000000040577a in fault_spin () at gst-launch.c:112
#3 fault_handler_sighandler (signum=11) at gst-launch.c:93
#4 <signal handler called>
#5 0x00007fe42374fa59 in ?? ()
#6 0x00007fe420e31ffe in video_orc_pack_BGRA (
d1=0x7fe42374ef00
"\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\322\322\322\377\322\322\322\377\322\322\322\377\322\322\322\377\322\322\322\377"...,
s1=0x7fe41000d600
"\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\322\322\322\377\322\322\322\377\322\322\322\377\322\322\322\377\322\322",
<incomplete sequence \322>..., n=320) at tmp-orc.c:4207
#7 0x00007fe420e02e93 in video_converter_generic (convert=0x7fe41000a1c0,
src=<optimised out>, dest=0x7fe41ed0d790) at video-converter.c:2848
#8 0x00007fe4206f653c in gst_video_convert_transform_frame (filter=0x1620b70,
in_frame=0x7fe41ed0d4f0, out_frame=0x7fe41ed0d790) at gstvideoconvert.c:692
#9 0x00007fe420e10dee in gst_video_filter_transform (trans=0x1620b70,
inbuf=<optimised out>, outbuf=0x16329e0) at gstvideofilter.c:271
#10 0x00007fe420bb51d5 in default_generate_output (trans=0x1620b70,
outbuf=0x7fe41ed0daa0) at gstbasetransform.c:2180
#11 0x00007fe420bb4a76 in gst_base_transform_chain (pad=<optimised out>,
parent=0x1620b70, buffer=<optimised out>) at gstbasetransform.c:2333
#12 0x00007fe423296aa8 in gst_pad_chain_data_unchecked (data=0x16326b0,
type=4112, pad=0x1616720) at gstpad.c:4086
#13 gst_pad_push_data (pad=0x1617020, type=type at entry=4112, data=0x16326b0) at
gstpad.c:4338
#14 0x00007fe42329e516 in gst_pad_push (pad=<optimised out>, buffer=<optimised
out>) at gstpad.c:4454
#15 0x00007fe420bb4b5d in gst_base_transform_chain (pad=<optimised out>,
parent=0x16302f0, buffer=<optimised out>) at gstbasetransform.c:2369
#16 0x00007fe423296aa8 in gst_pad_chain_data_unchecked (data=0x16326b0,
type=4112, pad=0x1616de0) at gstpad.c:4086
#17 gst_pad_push_data (pad=0x16164e0, type=type at entry=4112, data=0x16326b0) at
gstpad.c:4338
#18 0x00007fe42329e516 in gst_pad_push (pad=<optimised out>, buffer=<optimised
out>) at gstpad.c:4454
#19 0x00007fe420bb4b5d in gst_base_transform_chain (pad=<optimised out>,
parent=0x161fa30, buffer=<optimised out>) at gstbasetransform.c:2369
#20 0x00007fe423296aa8 in gst_pad_chain_data_unchecked (data=0x16326b0,
type=4112, pad=0x16162a0) at gstpad.c:4086
#21 gst_pad_push_data (pad=pad at entry=0x1616060, type=type at entry=4112,
data=0x16326b0) at gstpad.c:4338
#22 0x00007fe42329e516 in gst_pad_push (pad=pad at entry=0x1616060,
buffer=<optimised out>) at gstpad.c:4454
#23 0x00007fe420bb0605 in gst_base_src_loop (pad=0x1616060) at
gstbasesrc.c:2845
#24 0x00007fe4232c6e51 in gst_task_func (task=0x163f050) at gsttask.c:331
#25 0x00007fe422d3a2fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fe422d39965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fe422ab26aa in start_thread (arg=0x7fe41ed0e700) at
pthread_create.c:333
#28 0x00007fe4227e7eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) p *convert
$3 = {
flags = 0,
in_info = {
finfo = 0x7fe42105d7b8 <formats+6008>,
interlace_mode = GST_VIDEO_INTERLACE_MODE_PROGRESSIVE,
flags = GST_VIDEO_FLAG_NONE,
width = 320,
height = 240,
size = 76800,
views = 1,
chroma_site = GST_VIDEO_CHROMA_SITE_UNKNOWN,
colorimetry = {
range = GST_VIDEO_COLOR_RANGE_0_255,
matrix = GST_VIDEO_COLOR_MATRIX_BT601,
transfer = GST_VIDEO_TRANSFER_UNKNOWN,
primaries = GST_VIDEO_COLOR_PRIMARIES_UNKNOWN
},
par_n = 1,
par_d = 1,
fps_n = 30,
fps_d = 1,
offset = {0, 0, 0, 0},
stride = {320, 0, 0, 0},
ABI = {
abi = {
multiview_mode = GST_VIDEO_MULTIVIEW_MODE_NONE,
multiview_flags = GST_VIDEO_MULTIVIEW_FLAGS_NONE
},
_gst_reserved = {0xffffffff, 0x0, 0x0, 0x0}
}
},
out_info = {
finfo = 0x7fe42105c7c8 <formats+1928>,
interlace_mode = GST_VIDEO_INTERLACE_MODE_PROGRESSIVE,
flags = GST_VIDEO_FLAG_NONE,
width = 320,
height = 240,
size = 307200,
views = 1,
chroma_site = GST_VIDEO_CHROMA_SITE_UNKNOWN,
colorimetry = {
range = GST_VIDEO_COLOR_RANGE_0_255,
matrix = GST_VIDEO_COLOR_MATRIX_RGB,
transfer = GST_VIDEO_TRANSFER_SRGB,
primaries = GST_VIDEO_COLOR_PRIMARIES_BT709
},
par_n = 1,
par_d = 1,
fps_n = 30,
fps_d = 1,
offset = {0, 0, 0, 0},
stride = {1280, 0, 0, 0},
ABI = {
abi = {
multiview_mode = GST_VIDEO_MULTIVIEW_MODE_NONE,
multiview_flags = GST_VIDEO_MULTIVIEW_FLAGS_NONE
},
_gst_reserved = {0xffffffff, 0x0, 0x0, 0x0}
}
},
in_x = 0,
in_y = 0,
in_width = 320,
in_height = 240,
in_maxwidth = 320,
in_maxheight = 240,
out_x = 0,
out_y = 0,
out_width = 320,
out_height = 240,
out_maxwidth = 320,
out_maxheight = 240,
current_pstride = 4,
current_width = 320,
current_height = 240,
current_format = GST_VIDEO_FORMAT_ARGB,
current_bits = 8,
config = 0x7fe410002060,
tmpline = 0x0,
fill_border = 1,
borderline = 0x0,
borders = {0, 0, 0, 0},
border_argb = 4278190080,
alpha_value = 255,
alpha_mode = ALPHA_MODE_NONE,
convert = 0x7fe420e02c00 <video_converter_generic>,
unpack_lines = 0x1640d80,
unpack_format = GST_VIDEO_FORMAT_AYUV,
unpack_bits = 8,
unpack_rgb = 0,
identity_unpack = 0,
unpack_pstride = 4,
upsample_lines = 0x0,
upsample = 0x0,
upsample_p = 0x0,
upsample_i = 0x0,
up_n_lines = 1,
up_offset = 0,
to_RGB_lines = 0x0,
to_RGB_matrix = {
dm = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}},
im = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}},
width = 0,
orc_p1 = 0,
orc_p2 = 0,
orc_p3 = 0,
orc_p4 = 0,
t_r = 0x0,
t_g = 0x0,
t_b = 0x0,
t_c = 0,
matrix_func = 0x0
},
gamma_dec = {
gamma_table = 0x0,
width = 0,
gamma_func = 0x0
},
hscale_lines = 0x0,
h_scaler = 0x0,
h_scale_format = 0,
vscale_lines = 0x0,
v_scaler = 0x0,
v_scaler_p = 0x0,
v_scaler_i = 0x0,
v_scale_width = 0,
v_scale_format = 0,
convert_lines = 0x1640de0,
convert_matrix = {
dm = {{256.00001513957977, 0, 358.91202122569086, -45940.738716888431},
{256.00001513957977, -88.098894477540426, -182.81890007918494,
34677.477703260847}, {256.00001513957977,
453.63202682733532, 0, -58064.899433898921}, {0, 0, 0, 1}},
im = {{256, 0, 359, -45941}, {256, -88, -183, 34677}, {256, 454, 0,
-58065}, {0, 0, 0, 1}},
width = 320,
orc_p1 = 0,
orc_p2 = 0,
orc_p3 = 0,
orc_p4 = 0,
t_r = 0x0,
t_g = 0x0,
t_b = 0x0,
t_c = 0,
matrix_func = 0x7fe420e00610 <video_converter_matrix8_AYUV_ARGB>
},
in_bits = 8,
out_bits = 8,
alpha_lines = 0x0,
alpha_func = 0x0,
gamma_enc = {
gamma_table = 0x0,
width = 0,
gamma_func = 0x0
},
to_YUV_lines = 0x0,
to_YUV_matrix = {
dm = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}},
im = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}},
width = 0,
orc_p1 = 0,
orc_p2 = 0,
orc_p3 = 0,
orc_p4 = 0,
t_r = 0x0,
t_g = 0x0,
t_b = 0x0,
t_c = 0,
matrix_func = 0x0
},
downsample_lines = 0x0,
downsample = 0x0,
downsample_p = 0x0,
downsample_i = 0x0,
down_n_lines = 1,
down_offset = 0,
dither_lines = 0x0,
dither = 0x0,
pack_lines = 0x1640de0,
pack_nlines = 1,
pack_format = GST_VIDEO_FORMAT_ARGB,
pack_bits = 8,
pack_rgb = 2,
identity_pack = 0,
pack_pstride = 4,
pack_pal = 0x0,
pack_palsize = 0,
src = 0x7fe41ed0d4f0,
dest = 0x7fe41ed0d790,
fformat = {GST_VIDEO_FORMAT_UNKNOWN, GST_VIDEO_FORMAT_UNKNOWN,
GST_VIDEO_FORMAT_UNKNOWN, GST_VIDEO_FORMAT_UNKNOWN},
fin_x = {0, 0, 0, 0},
fin_y = {0, 0, 0, 0},
fout_x = {0, 0, 0, 0},
fout_y = {0, 0, 0, 0},
fout_width = {0, 0, 0, 0},
fout_height = {0, 0, 0, 0},
fsplane = {0, 0, 0, 0},
ffill = {0, 0, 0, 0},
fh_scaler = {0x0, 0x0, 0x0, 0x0},
fv_scaler = {0x0, 0x0, 0x0, 0x0},
fconvert = {0x0, 0x0, 0x0, 0x0}
time asked for the output of orc-bugreport
Orc 0.4.24 - integrated testing tool
Active backend: sse
L1 cache: 32768
L2 cache: 262144
L3 cache: 8388608
Family/Model/Stepping: 6/94/3
CPU name: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Compiler options: sse2 sse3 ssse3 sse41 sse42 64bit
Opcode test:
No errors detected.
--
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