GNOME Bugzilla – Bug 759010
Valgrind test are faling for rtsp-server for master
Last modified: 2015-12-08 07:49:08 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==
Are you looking into it already? :)
Yes, I am working on it. I have already have the fix. Soon will upload it.
Created attachment 316913 [details] [review] Patch to fix the valgrind error
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