[Bug 741993] New: souphttpsrc memleak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 26 03:18:33 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=741993
  GStreamer | gst-plugins-good | git

           Summary: souphttpsrc memleak
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: memory
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lists at svrinformatica.it
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


sometime I get this memleak from valgrind:

==5329== 4,519 (272 direct, 4,247 indirect) bytes in 1 blocks are definitely
lost in loss record 4,352 of 4,376
==5329==    at 0x4C29F90: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5329==    by 0x58F8579: g_malloc (in /usr/lib/libglib-2.0.so.0.4200.1)
==5329==    by 0x590F3DF: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.4200.1)
==5329==    by 0x4E6CB0A: gst_buffer_new (gstbuffer.c:632)
==5329==    by 0x4E6DA82: gst_buffer_new_allocate (gstbuffer.c:680)
==5329==    by 0x8E86D34: gst_base_src_default_alloc (gstbasesrc.c:1435)
==5329==    by 0x88013CD: gst_soup_http_src_chunk_allocator
(gstsouphttpsrc.c:1356)
==5329==    by 0x911F0CA: ??? (in /usr/lib/libsoup-2.4.so.1.7.0)
==5329==    by 0x911F542: ??? (in /usr/lib/libsoup-2.4.so.1.7.0)
==5329==    by 0x91200F4: ??? (in /usr/lib/libsoup-2.4.so.1.7.0)
==5329==    by 0x912034A: ??? (in /usr/lib/libsoup-2.4.so.1.7.0)
==5329==    by 0x58F291C: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.4200.1)
==5329==    by 0x58F2CF7: ??? (in /usr/lib/libglib-2.0.so.0.4200.1)
==5329==    by 0x58F3021: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.4200.1)
==5329==    by 0x8803D7B: gst_soup_http_src_do_request (gstsouphttpsrc.c:1686)
==5329==    by 0x8804868: gst_soup_http_src_create (gstsouphttpsrc.c:1726)
==5329==    by 0x8E88D79: gst_base_src_get_range (gstbasesrc.c:2455)
==5329==    by 0x8E8AC62: gst_base_src_loop (gstbasesrc.c:2731)
==5329==    by 0x4ECBF70: gst_task_func (gsttask.c:316)
==5329==    by 0x5919F87: ??? (in /usr/lib/libglib-2.0.so.0.4200.1)

using this pipeline:

souphttpsrc location=... do-timestamp=true is-live=true ! jpegparse ! jpegdec !
queue ! openh264enc rate-control=1 enable-frame-skip=1 bitrate=1024000 !
fakesink silent=false

it does not happen always, probably some corner case in gstreamer or libsoup

I'm using git master with libsoup 2.48.1

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