[Bug 743909] videobox: crash when launching with different properties

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 22 23:21:13 PDT 2015


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

--- Comment #2 from Vineeth <vineeth.tm at samsung.com> ---
Hi Tim,
     I was able to reproduce the issue with specific values of the parameters.
When i give very high values it gives bufferpool configuration error, after
some recent changes in bufferpool i guess.

     But when give in specific range it crashes with SIGSEGV. This is the
parameters i used

Starting program:
/home/vineeth/gst/master/gstreamer/tools/.libs/lt-gst-launch-1.0 videotestsrc
num-buffers=20 \! videobox bottom=1677722 \! videoconvert \! autovideosink

    and below is the stack trace.
#0  0x00007ffff55e8386 in video_orc_pack_RGBA (d1=0x7ffed7fff2a0 <error: Cannot
access memory at address 0x7ffed7fff2a0>, s1=0x7fffe4004ef0 "\377", n=320)
    at tmp-orc.c:4673
#1  0x00007ffff5811aba in convert_hline_generic (p=<optimized out>,
frame=<optimized out>, y=<optimized out>) at videotestsrc.c:1202
#2  0x00007ffff581169a in videotestsrc_convert_tmpline
(p=p at entry=0x7fffed5a36f0, frame=frame at entry=0x7fffed5a3870, j=j at entry=1677722)
at videotestsrc.c:275
#3  0x00007ffff581239d in gst_video_test_src_smpte (v=0x794500,
frame=0x7fffed5a3870) at videotestsrc.c:423
#4  0x00007ffff580fae4 in gst_video_test_src_fill (psrc=0x794500,
buffer=0x7fffe40120b0) at gstvideotestsrc.c:955
#5  0x00007ffff5370ad3 in gst_base_src_default_create (src=0x794500,
offset=18446744073709551615, size=4096, buffer=0x7fffed5a3ca0) at
gstbasesrc.c:1482
#6  0x00007ffff5373a35 in gst_base_src_get_range (src=src at entry=0x794500,
offset=offset at entry=18446744073709551615, length=length at entry=4096, 
    buf=buf at entry=0x7fffed5a3da8) at gstbasesrc.c:2461
#7  0x00007ffff53755bb in gst_base_src_loop (pad=0x796060) at gstbasesrc.c:2737
#8  0x00007ffff7b5c311 in gst_task_func (task=0x686050) at gsttask.c:331
#9  0x00007ffff75d888c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff75d7f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff7354182 in start_thread (arg=0x7fffed5a4700) at
pthread_create.c:312
#12 0x00007ffff708147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111


    Funny part is, it crashes when bottom=1677722, but does not when it is
bottom=1677721. So there is some logic which needs to be checked.
    The same crash happens in videocrop as well.

Regards,
Vineeth

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