Bug#797227: segfault - gst_memory_unmap, libgstreamer

jnqnfe jnqnfe at gmail.com
Mon Aug 31 15:41:27 UTC 2015


On Mon, 2015-08-31 at 17:36 +0300, Sebastian Dröge wrote:
> On Mo, 2015-08-31 at 15:29 +0100, jnqnfe wrote:
> > 
> > > Can someone who is still able to reproduce this with 1.5.90 from
> > > experimental also install debug symbols for libc6, libglib2.0-0, 
> > > all the GStreamer packages and then
> > >  a) run with valgrind --track-origins=yes
> > >  b) get a new backtrace with gdb?
> > > 
> > > Thanks!
> > 
> > I do not believe anyone has reported being able to reproduce the 
> > issue with 1.5.90 packages.
> > 
> > Do you want me to revert to the troublesome packages and get a more
> > complete bt for you?
> 
> That would be great, yes. Thanks :)

Ok, pasted below! (full bt further down)

#0  0x00007fff97f50ff0 in gst_memory_unmap (mem=0x7fff00000000, 
info=info at entry=0x7fff87867980) at gstmemory.c:339
#1  0x00007fff97f26f76 in gst_buffer_unmap (buffer=<optimized out>,
info=0x7fff87867980) at gstbuffer.c:1622
#2  0x00007fff85442294 in gst_faad_set_format (dec=0x7fffc3399aa0
[GstFaad], caps=<optimized out>) at gstfaad.c:326
#3  0x00007fff90d4be04 in gst_audio_decoder_do_caps (caps=<optimized
out>, dec=<optimized out>) at gstaudiodecoder.c:866
#4  0x00007fff90d4be04 in gst_audio_decoder_do_caps (dec=0x7fffc3399aa0
[GstFaad]) at gstaudiodecoder.c:1737
#5  0x00007fff90d4f18f in gst_audio_decoder_chain (pad=0x7fffc2a0b6e0
[GstPad], parent=0x7fffc3399aa0 [GstFaad], buffer=0x7fffc2a0c840) at
gstaudiodecoder.c:1756
#6  0x00007fff97f55e1f in gst_pad_push_data (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:3830
#7  0x00007fff97f55e1f in gst_pad_push_data (pad=0x7fffc2a0b280
[GstPad], type=2429874528, data=0x7fffc2a0c840) at gstpad.c:4063
#8  0x00007fff97a9a564 in gst_base_parse_push_frame
(parse=0x7fffc331fa30 [GstAacParse], frame=0x7fff87867c60) at
gstbaseparse.c:2304
#9  0x00007fff97a9b132 in gst_base_parse_chain (pad=0x7fff00000000,
parent=0x7fffc331fa30 [GstAacParse], buffer=0x7fffc2a0c840) at
gstbaseparse.c:2824
#10 0x00007fff97f55e1f in gst_pad_push_data (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:3830
#11 0x00007fff97f55e1f in gst_pad_push_data (pad=0x7fffc2a0ae20
[GstPad], type=2544478928, data=0x7fffc2a0c840) at gstpad.c:4063
#12 0x00007fff908ccb4c in gst_multi_queue_loop (object=<optimized out>,
sq=<optimized out>, mq=<optimized out>) at gstmultiqueue.c:1229
#13 0x00007fff908ccb4c in gst_multi_queue_loop (pad=0x7fff00000000) at
gstmultiqueue.c:1484
#14 0x00007fff97f83b61 in gst_task_func (task=0x7fffc28fc4d0 [GstTask])
at gsttask.c:316
#15 0x00007fffee6a92e8 in g_thread_pool_thread_proxy (data=<optimized
out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gthreadpool.c:307
#16 0x00007fffee6a8955 in g_thread_proxy (data=0x7fffc0a73ca0) at
/tmp/buildd/glib2.0-2.44.1/./glib/gthread.c:764
#17 0x00007ffff7bc70a4 in start_thread (arg=0x7fff87868700) at
pthread_create.c:309
#18 0x00007ffff707c07d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111




#0  0x00007fff97f50ff0 in gst_memory_unmap (mem=0x7fff00000000, 
info=info at entry=0x7fff87867980) at gstmemory.c:339
        __func__ = "gst_memory_unmap"
#1  0x00007fff97f26f76 in gst_buffer_unmap (buffer=<optimized out>,
info=0x7fff87867980) at gstbuffer.c:1622
        __func__ = "gst_buffer_unmap"
#2  0x00007fff85442294 in gst_faad_set_format (dec=0x7fffc3399aa0
[GstFaad], caps=<optimized out>) at gstfaad.c:326
        samplerate = 22050
        channels = 2 '\002'
        faad = 0x7fffc3399aa0 [GstFaad]
        str = 0x7fff97370580
        buf = 0x7fffc2a0c730
        value = <optimized out>
        map = {memory = 0x7fff00000000, flags = GST_MAP_READ, data =
0x7fffc2590270 "\025\b", <incomplete sequence \345\270>, size = 5,
maxsize = 12, user_data = {0x7fffc23f0068, 0x7fff991b7460,
0x7fffee955808 <g_value_get_boxed+88>, 0x7fff97f551b0 <push_sticky>},
_gst_reserved = {0x7fff878679f0, 0x7fffc2a0b6e0, 0x7fff97f4439f
<gst_event_parse_caps+127>, 0x7fffc3399aa0}}
        cdata = 0x7fffc2590270 "\025\b", <incomplete sequence \345\270>
        csize = 5
        __func__ = "gst_faad_set_format"
        __FUNCTION__ = "gst_faad_set_format"
#3  0x00007fff90d4be04 in gst_audio_decoder_do_caps (caps=<optimized
out>, dec=<optimized out>) at gstaudiodecoder.c:866
        klass = 0x7fffc35d5c00
        res = -1665004384
        caps = 0x7fffc33e8370
#4  0x00007fff90d4be04 in gst_audio_decoder_do_caps (dec=0x7fffc3399aa0
[GstFaad]) at gstaudiodecoder.c:1737
        caps = 0x7fffc33e8370
#5  0x00007fff90d4f18f in gst_audio_decoder_chain (pad=0x7fffc2a0b6e0
[GstPad], parent=0x7fffc3399aa0 [GstFaad], buffer=0x7fffc2a0c840) at
gstaudiodecoder.c:1756
        ret = -1029650368
        __PRETTY_FUNCTION__ = "gst_audio_decoder_chain"
#6  0x00007fff97f55e1f in gst_pad_push_data (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:3830
        chainfunc = 0x7fff90d4f160 <gst_audio_decoder_chain>
        parent = 0x7fffc3399aa0 [GstFaad]
        peer = 0x7fffc2a0b6e0 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#7  0x00007fff97f55e1f in gst_pad_push_data (pad=0x7fffc2a0b280
[GstPad], type=2429874528, data=0x7fffc2a0c840) at gstpad.c:4063
        peer = 0x7fffc2a0b6e0 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#8  0x00007fff97a9a564 in gst_base_parse_push_frame
(parse=0x7fffc331fa30 [GstAacParse], frame=0x7fff87867c60) at
gstbaseparse.c:2304
        ret = GST_FLOW_OK
        klass = 0x0
        buffer = 0x7fffc2a0c840
        size = 557
        __func__ = "gst_base_parse_push_frame"
        __PRETTY_FUNCTION__ = "gst_base_parse_push_frame"
#9  0x00007fff97a9b132 in gst_base_parse_chain (pad=0x7fff00000000,
parent=0x7fffc331fa30 [GstAacParse], buffer=0x7fffc2a0c840) at
gstbaseparse.c:2824
        frame = {buffer = 0x0, out_buffer = 0x0, flags = 0, offset = 0,
overhead = 0, size = 0, _gst_reserved_i = {0, 0}, _gst_reserved_p =
{0x0, 0x0}, _private_flags = 1}
        tmpbuf = 0x7fff9cc20ca0
        skip = -1
        data = 0x7fff9cc20ca0 "\001"
        pts = 140735467125856
        dts = 140735823350944
        __PRETTY_FUNCTION__ = "gst_base_parse_chain"
#10 0x00007fff97f55e1f in gst_pad_push_data (data=<optimized out>,
type=<optimized out>, pad=<optimized out>) at gstpad.c:3830
        chainfunc = 0x7fff97a9aad0 <gst_base_parse_chain>
        parent = 0x7fffc331fa30 [GstAacParse]
        peer = 0x7fffc2a0b050 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#11 0x00007fff97f55e1f in gst_pad_push_data (pad=0x7fffc2a0ae20
[GstPad], type=2544478928, data=0x7fffc2a0c840) at gstpad.c:4063
        peer = 0x7fffc2a0b050 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#12 0x00007fff908ccb4c in gst_multi_queue_loop (object=<optimized out>,
sq=<optimized out>, mq=<optimized out>) at gstmultiqueue.c:1229
        timestamp = 0
        sq = 0x7fffbcfc41c0
        item = 0x7fff00000000
        sitem = 0x7fffc29faf60
        mq = 0x7fffd63b56a0 [GstMultiQueue]
        object = 0x7fffc2a0c840
        result = GST_FLOW_OK
        __PRETTY_FUNCTION__ = "gst_multi_queue_loop"
#13 0x00007fff908ccb4c in gst_multi_queue_loop (pad=0x7fff00000000) at
gstmultiqueue.c:1484
        sq = 0x7fffbcfc41c0
        item = 0x7fff00000000
        sitem = 0x7fffc29faf60
        mq = 0x7fffd63b56a0 [GstMultiQueue]
        object = 0x7fffc2a0c840
        result = GST_FLOW_OK
        __PRETTY_FUNCTION__ = "gst_multi_queue_loop"
#14 0x00007fff97f83b61 in gst_task_func (task=0x7fffc28fc4d0 [GstTask])
at gsttask.c:316
        lock = 0x7fffc2a0ae90
        priv = 0x7fffc28fc480
        __PRETTY_FUNCTION__ = "gst_task_func"
#15 0x00007fffee6a92e8 in g_thread_pool_thread_proxy (data=<optimized
out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gthreadpool.c:307
        task = 0x7fffd808f9c0
        pool = 0x7fffb4f429a0
#16 0x00007fffee6a8955 in g_thread_proxy (data=0x7fffc0a73ca0) at
/tmp/buildd/glib2.0-2.44.1/./glib/gthread.c:764
        thread = 0x7fffc0a73ca0
#17 0x00007ffff7bc70a4 in start_thread (arg=0x7fff87868700) at
pthread_create.c:309
        __res = <optimized out>
        pd = 0x7fff87868700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140735467128576, 
-2734084538339017070, 0, 140737354125408, 140737193347328,
140735467128576, 2734137516736790162, 2734102658354790034},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev
= 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#18 0x00007ffff707c07d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111



More information about the pkg-gstreamer-maintainers mailing list