[Bug 736314] omxaacdec has a huge memory leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 25 22:59:26 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=736314
  GStreamer | gst-omx | 1.2.4

--- Comment #8 from Jun Ji <jun.ji at lge.com> 2014-09-26 05:59:14 UTC ---
I found that my pipeline only unrefs the allocatorsysmem0 for the below stack,


Breakpoint 10, gst_object_unref (object=0x20418) at gstobject.c:267
267     {
(gdb) bt
#0  gst_object_unref (object=0x20418) at gstobject.c:267
#1  0x76f50a78 in gst_mini_object_unref (mini_object=0x72a06000) at
gstminiobject.c:467
#2  0x76f314e4 in gst_memory_unref (memory=<optimized out>) at
../gst/gstmemory.h:325
#3  _gst_buffer_free (buffer=0x74688df8) at gstbuffer.c:578
#4  0x76f50a78 in gst_mini_object_unref
(mini_object=mini_object at entry=0x74688df8) at gstminiobject.c:467
#5  0x769c788a in gst_buffer_unref (buf=0x74688df8) at
../../../gst/gstbuffer.h:354
#6  gst_base_sink_set_last_buffer_unlocked (sink=sink at entry=0xe80d0,
buffer=buffer at entry=0x72a05a28)
    at gstbasesink.c:954
#7  0x769c791c in gst_base_sink_set_last_buffer (buffer=0x72a05a28,
sink=0xe80d0) at gstbasesink.c:966
#8  gst_base_sink_set_last_buffer (sink=0xe80d0, buffer=0x72a05a28) at
gstbasesink.c:960
#9  0x769cccb2 in gst_base_sink_chain_unlocked
(basesink=basesink at entry=0xe80d0, 
    obj=obj at entry=0x72a05a28, is_list=is_list at entry=0, 
    pad=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at
gstbasesink.c:3372
#10 0x769cdb44 in gst_base_sink_chain_main (basesink=0xe80d0, pad=0xd86d8,
obj=0x72a05a28, is_list=0)
    at gstbasesink.c:3486
#11 0x76f53efe in gst_pad_chain_data_unchecked (data=0x72a05a28,
type=<optimized out>, pad=0xd86d8)
    at gstpad.c:3768
#12 gst_pad_push_data (pad=0xd8590, type=<optimized out>, data=<optimized out>)
at gstpad.c:3998
#13 0x7691839e in gst_audio_decoder_push_forward ()
   from
/home/jsea/workspace/breadnut/wd-host-script/rootfs/usr/lib/libgstaudio-1.0.so.0
#14 0x7691880e in gst_audio_decoder_output ()
   from
/home/jsea/workspace/breadnut/wd-host-script/rootfs/usr/lib/libgstaudio-1.0.so.0
#15 0x7691c11e in gst_audio_decoder_finish_frame ()
   from
/home/jsea/workspace/breadnut/wd-host-script/rootfs/usr/lib/libgstaudio-1.0.so.0
#16 0x768a6502 in gst_omx_audio_dec_loop (self=0xe35c0) at gstomxaudiodec.c:562
#17 0x76f771ae in gst_task_func (task=0xf15e8) at gsttask.c:316
#18 0x76f77d4c in default_func (tdata=<optimized out>, pool=<optimized out>) at
gsttaskpool.c:70
#19 0x76e1b920 in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:309
#20 0x76e1b03c in g_thread_proxy (data=0x74602060) at gthread.c:797
#21 0x76d97d80 in start_thread (arg=0x733ff470) at pthread_create.c:313
#22 0x76d04b98 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/clone.S:96
   from /home/jsea/workspace/breadnut/wd-host-script/rootfs/lib/libc.so.6
#23 0x76d04b98 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/clone.S:96
   from /home/jsea/workspace/breadnut/wd-host-script/rootfs/lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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