[Bug 761703] New: Recursive backtrace that exceeds stack size with v4l

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 8 10:59:10 UTC 2016


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

            Bug ID: 761703
           Summary: Recursive backtrace that exceeds stack size with v4l
    Classification: Platform
           Product: GStreamer
           Version: 1.6.2
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kulakov.ilya at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

If you unplug camera which is currently being used for recording, there is a
chance that gstreamer will exceed stack size and application will crash.

#0  0x00007fffa80f7def in v4l2_ioctl () from
/usr/lib/x86_64-linux-gnu/libv4l2.so.0
#1  0x00007fffa8510e6c in gst_v4l2_allocator_qbuf (allocator=0x7ffeec284060,
group=0x7ffefc0228e0)
    at gstv4l2allocator.c:1243
#2  0x00007fffa851cd03 in gst_v4l2_buffer_pool_qbuf
(pool=pool at entry=0x7ffeec2827d0, 
    buf=buf at entry=0x7ffeec82e500) at gstv4l2bufferpool.c:1111
#3  0x00007fffa851cf18 in gst_v4l2_buffer_pool_release_buffer
(bpool=0x7ffeec2827d0, 
    buffer=0x7ffeec82e500) at gstv4l2bufferpool.c:1403
...
...
...
#4  0x00007fffe24aa846 in gst_buffer_pool_release_buffer (pool=0x7ffeec2827d0,
buffer=0x7ffeec82e500)
    at gstbufferpool.c:1296
#5  0x00007fffe24a46a3 in _gst_buffer_dispose (buffer=0x7ffeec82e500) at
gstbuffer.c:627
#6  0x00007fffe24d3ace in gst_mini_object_unref (mini_object=0x7ffeec82e500) at
gstminiobject.c:448
#7  0x00007fffa851c1d2 in gst_buffer_unref (buf=<optimized out>)
    at <....>/usr/include/gstreamer-1.0/gst/gstbuffer.h:364
#8  gst_v4l2_buffer_pool_resurect_buffer (pool=0x7ffeec2827d0) at
gstv4l2bufferpool.c:685
#9  0x00007fffee15855f in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fffee171088 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fffee171ce2 in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007fffa850ea69 in gst_v4l2_allocator_release (mem=0x7ffeec01a690,
allocator=0x7ffeec284060)
    at gstv4l2allocator.c:369
#13 _v4l2mem_dispose (mem=0x7ffeec01a690) at gstv4l2allocator.c:138
#14 0x00007fffe24d3ace in gst_mini_object_unref (mini_object=0x7ffeec01a690) at
gstminiobject.c:448
#15 0x00007fffe24a45ca in gst_memory_unref (memory=<optimized out>) at
../gst/gstmemory.h:349
#16 _gst_buffer_free (buffer=0x7ffeec82e3f0) at gstbuffer.c:665
#17 0x00007fffa851cf2d in gst_v4l2_buffer_pool_release_buffer
(bpool=0x7ffeec2827d0, 
    buffer=0x7ffeec82e3f0) at gstv4l2bufferpool.c:1457
...
...
...
#106309 0x00007fffa9b494e3 in gst_tee_handle_data
(tee=tee at entry=0x7fffc000d930, 
    data=data at entry=0x7ffeec019820, is_list=is_list at entry=0) at gsttee.c:739
#106310 0x00007fffa9b49959 in gst_tee_chain (pad=<optimized out>,
parent=0x7fffc000d930, 
    buffer=0x7ffeec019820) at gsttee.c:780
#106311 0x00007fffe24d83aa in gst_pad_chain_data_unchecked
(data=0x7ffeec019820, type=4112, 
    pad=0x60d3b40) at gstpad.c:4086
#106312 gst_pad_push_data (pad=0x7fff98006280, type=type at entry=4112,
data=<optimized out>)
    at gstpad.c:4338
#106313 0x00007fffe24dfa66 in gst_pad_push (pad=<optimized out>,
buffer=<optimized out>)
    at gstpad.c:4454
#106314 0x00007fffe2031efd in gst_base_transform_chain (pad=<optimized out>,
parent=0x16e7070, 
    buffer=<optimized out>) at gstbasetransform.c:2369
#106315 0x00007fffe24d83aa in gst_pad_chain_data_unchecked
(data=0x7ffeec019820, type=4112, 
    pad=0x7fff98006040) at gstpad.c:4086
#106316 gst_pad_push_data (pad=pad at entry=0x60d3d80, type=type at entry=4112,
data=<optimized out>)
    at gstpad.c:4338
#106317 0x00007fffe24dfa66 in gst_pad_push (pad=pad at entry=0x60d3d80,
buffer=<optimized out>)
    at gstpad.c:4454
#106318 0x00007fffe202dce5 in gst_base_src_loop (pad=0x60d3d80) at
gstbasesrc.c:2845
#106319 0x00007fffe2507681 in gst_task_func (task=0x7fff98294830) at
gsttask.c:331
#106320 0x00007ffff17f088c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#106321 0x00007ffff17eff05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#106322 0x00007ffff7bc4182 in start_thread (arg=0x7ffefa7fd700) at
pthread_create.c:312
#106323 0x00007ffff78f147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Stack in the middle is being repeated.

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