After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759010 - Valgrind test are faling for rtsp-server for master
Valgrind test are faling for rtsp-server for master
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal major
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-04 07:44 UTC by Srimanta Panda (trollkarlen)
Modified: 2015-12-08 07:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the valgrind error (2.63 KB, patch)
2015-12-08 07:32 UTC, Srimanta Panda (trollkarlen)
committed Details | Review

Description Srimanta Panda (trollkarlen) 2015-12-04 07:44:38 UTC
Valgrind test is failing for rtsp-server. Its leaking in alloc_ports_one_family for udpsrc0. 

==23315==    at 0x652B982: g_type_create_instance (gtype.c:1849)
==23315==    by 0x650FF44: g_object_new_internal (gobject.c:1774)
==23315==    by 0x6511A5C: g_object_newv (gobject.c:1922)
==23315==    by 0x622B9C4: gst_element_factory_create (gstelementfactory.c:376)
==23315==    by 0x622BB29: gst_element_factory_make (gstelementfactory.c:446)
==23315==    by 0x4E56911: alloc_ports_one_family (rtsp-stream.c:1144)
==23315==    by 0x4E597B6: alloc_ports (rtsp-stream.c:1279)
==23315==    by 0x4E597B6: gst_rtsp_stream_join_bin (rtsp-stream.c:2102)
==23315==    by 0x4E4A06D: start_prepare (rtsp-media.c:2503)
==23315==    by 0x67963BB: g_main_dispatch (gmain.c:3122)
==23315==    by 0x67963BB: g_main_context_dispatch (gmain.c:3721)
==23315==    by 0x6796717: g_main_context_iterate.isra.23 (gmain.c:3792)
==23315==    by 0x6796A29: g_main_loop_run (gmain.c:3986)
==23315==    by 0x4E483EE: do_loop (rtsp-thread-pool.c:329)
==23315==    by 0x67BBB21: g_thread_pool_thread_proxy (gthreadpool.c:307)
==23315==    by 0x67BB314: g_thread_proxy (gthread.c:764)
==23315==    by 0x6A890A3: start_thread (pthread_create.c:309)
==23315==
Comment 1 Tim-Philipp Müller 2015-12-04 09:34:14 UTC
Are you looking into it already? :)
Comment 2 Srimanta Panda (trollkarlen) 2015-12-08 07:21:04 UTC
Yes, I am working on it. I have already have the fix. Soon will upload it.
Comment 3 Srimanta Panda (trollkarlen) 2015-12-08 07:32:25 UTC
Created attachment 316913 [details] [review]
Patch to fix the valgrind error
Comment 4 Sebastian Dröge (slomo) 2015-12-08 07:48:54 UTC
commit f96947b350857ae41178703b6f45591857ab8ead
Author: Srimanta Panda <srimanta@axis.com>
Date:   Tue Dec 8 08:27:20 2015 +0100

    rtsp-stream: fixed valgrind error
    
    Fixed the valgrind error in unit test. The UDP source created during
    gst_rtsp_stream_join_bin() was not released while destroying the rtp
    bin.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759010