[Bug 783354] Alternative RTMP implementation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 4 18:01:16 UTC 2017


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

--- Comment #14 from Nicola <lists at svrinformatica.it> ---
Created attachment 362983
  --> https://bugzilla.gnome.org/attachment.cgi?id=362983&action=edit
fix some leaks

the patch fixs these leaks

6 bytes in 1 blocks are definitely lost in loss record 82 of 4,275
==5520==    at 0x4C2CE5F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5520==    by 0x60102F9: g_malloc (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x5FEF3B0: g_strdup (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x97B9163: send_connect (rtmpclient.c:506)
==5520==    by 0x97B9163: handshake_done (rtmpclient.c:387)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x97BB8E3: client_handshake3_done (rtmphandshake.c:260)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x97BD299: write_all_bytes_done (rtmputils.c:144)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9C80C3A: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9C7FD7B: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305E8: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x5FFF0BD: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x6000F68: ??? (in /usr/lib/libglib-2.0.so.0.5400.0)


4 bytes in 1 blocks are definitely lost in loss record 29 of 4,275
==5520==    at 0x4C2CE5F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5520==    by 0x60102F9: g_malloc (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x5FEF3B0: g_strdup (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x97B9142: send_connect (rtmpclient.c:505)
==5520==    by 0x97B9142: handshake_done (rtmpclient.c:387)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x97BB8E3: client_handshake3_done (rtmphandshake.c:260)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x97BD299: write_all_bytes_done (rtmputils.c:144)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9C80C3A: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9C7FD7B: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305E8: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x5FFF0BD: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x6000F68: ??? (in /usr/lib/libglib-2.0.so.0.5400.0)


 2,088 (40 direct, 2,048 indirect) bytes in 1 blocks are definitely lost in
loss record 4,226 of 4,275
==5520==    at 0x4C2CE5F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5520==    by 0x60102F9: g_malloc (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x5FF1706: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x5FD8ECA: g_bytes_new_with_free_func (in
/usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x97BC0BE: gst_rtmp_client_handshake (rtmphandshake.c:142)
==5520==    by 0x97B7727: socket_connect_done (rtmpclient.c:359)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9CACD8B: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9CB3657: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D380CD: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9CAB402: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x5FFF0BD: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x6000F68: ??? (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x6001F41: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x97B0FFA: gst_rtmp2_src_task_func (gstrtmp2src.c:611)
==5520==    by 0x4EE4138: gst_task_func (gsttask.c:332)
==5520==    by 0x5FEFF5A: ??? (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520== 
==5520== 2,088 (40 direct, 2,048 indirect) bytes in 1 blocks are definitely
lost in loss record 4,227 of 4,275
==5520==    at 0x4C2CE5F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5520==    by 0x60102F9: g_malloc (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x5FF1706: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x5FD8ECA: g_bytes_new_with_free_func (in
/usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x97BBCDD: client_handshake2_done (rtmphandshake.c:233)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x97BD1F0: read_all_bytes_done (rtmputils.c:93)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9CF95F1: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9CF2168: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D305AB: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9D30BC6: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9CF8A64: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x9CF8AE8: ??? (in /usr/lib/libgio-2.0.so.0.5400.0)
==5520==    by 0x5FFF0BD: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x6000F68: ??? (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x6001F41: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5400.0)
==5520==    by 0x97B0FFA: gst_rtmp2_src_task_func (gstrtmp2src.c:611)

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