[Bug 768518] crash in resampler_basic_direct_single

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 7 21:03:05 UTC 2016


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

--- Comment #10 from Marcin Lewandowski <marcin at saepia.net> ---
I've found out that it always crashes on attempt to do gst_buffer_extract in
shmsink.

I start to doubt whether this is related to the resampler.

I have added some debugging messages as in
https://bugzilla.gnome.org/show_bug.cgi?id=768530 and before it crashes I see

Copying 4800 bytes into map of size 4800 bytes.

So there's no overflow there.

Here's stack trace:

#0  __memcpy_sse2_unaligned () at
../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:37
#1  0x00007f174fcb0d61 in memcpy (__len=4800, __src=<optimized out>,
__dest=0x7f1751467000) at /usr/include/x86_64-linux-gnu/bits/string3.h:53
#2  gst_buffer_extract (buffer=buffer at entry=0x7f17300050c0, offset=<optimized
out>, offset at entry=0, dest=<optimized out>, size=4800) at gstbuffer.c:1818
#3  0x00007f1745d6b469 in gst_shm_sink_render (bsink=0x178f610,
buf=0x7f17300050c0) at gstshmsink.c:732
#4  0x00007f1747367cca in gst_base_sink_chain_unlocked
(basesink=basesink at entry=0x178f610, obj=obj at entry=0x7f17300050c0,
is_list=is_list at entry=0, pad=<optimized out>) at gstbasesink.c:3532
#5  0x00007f1747369150 in gst_base_sink_chain_main (basesink=0x178f610,
pad=<optimized out>, obj=0x7f17300050c0, is_list=0) at gstbasesink.c:3655
#6  0x00007f174fce359f in gst_pad_chain_data_unchecked (data=0x7f17300050c0,
type=4112, pad=0x16c0060) at gstpad.c:4177
#7  gst_pad_push_data (pad=pad at entry=0x1689d70, type=type at entry=4112,
data=data at entry=0x7f17300050c0) at gstpad.c:4429
#8  0x00007f174fceb4d3 in gst_pad_push (pad=pad at entry=0x1689d70,
buffer=0x7f17300050c0) at gstpad.c:4548
#9  0x00007f174736e8d5 in gst_base_src_loop (pad=0x1689d70) at
gstbasesrc.c:2850
#10 0x00007f174fd15ed1 in gst_task_func (task=0x17b6170) at gsttask.c:332
#11 0x00007f17505f627e in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#12 0x00007f17505f58e5 in g_thread_proxy (data=0x178ef20) at gthread.c:778
#13 0x00007f175036f6fa in start_thread (arg=0x7f1744ec1700) at
pthread_create.c:333
#14 0x00007f17500a5b5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

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