make: Entering directory `/home/davidsf/gst/head/gst-rtsp-server/tests/check'
GStreamer has detected that it is running inside valgrind.
It might now take different code paths to ease debugging.
Of course, this may also lead to different bugs.
Running suite(s): rtspserver
==24478== Thread 2:
==24478== Invalid read of size 4
==24478==    at 0x6D0C1B7: pthread_mutex_lock (pthread_mutex_lock.c:84)
==24478==    by 0x4E3C43C: bus_message (rtsp-media.c:1081)
==24478==    by 0x5C6F426: gst_bus_source_dispatch (gstbus.c:773)
==24478==    by 0x6A55354: g_main_context_dispatch (gmain.c:2539)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55A81: g_main_loop_run (gmain.c:3340)
==24478==    by 0x4E3D4F5: do_loop (rtsp-media.c:247)
==24478==    by 0x6A77F44: g_thread_proxy (gthread.c:801)
==24478==    by 0x6D09B4F: start_thread (pthread_create.c:304)
==24478==    by 0x6FF770C: clone (clone.S:112)
==24478==  Address 0x9a179b8 is 8 bytes inside a block of size 40 free'd
==24478==    at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24478==    by 0x4E3F999: gst_rtsp_media_finalize (rtsp-media.c:184)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x4E4ABDD: gst_rtsp_client_finalize (rtsp-client.c:233)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x6A52B69: g_source_unref_internal (gmain.c:1649)
==24478==    by 0x6A55427: g_main_context_dispatch (gmain.c:2567)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55743: g_main_context_iteration (gmain.c:3207)
==24478==    by 0x402970: iterate (rtspserver.c:57)
==24478==    by 0x4036E6: test_describe (rtspserver.c:502)
==24478==    by 0x5A2DE97: srunner_run_all (check_run.c:372)
==24478==    by 0x5A2864C: gst_check_run_suite (gstcheck.c:663)
==24478==    by 0x402390: main (rtspserver.c:745)
==24478== 
==24478== Invalid write of size 4
==24478==    at 0x6D0C1C2: pthread_mutex_lock (pthread_mutex_lock.c:85)
==24478==    by 0x4E3C43C: bus_message (rtsp-media.c:1081)
==24478==    by 0x5C6F426: gst_bus_source_dispatch (gstbus.c:773)
==24478==    by 0x6A55354: g_main_context_dispatch (gmain.c:2539)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55A81: g_main_loop_run (gmain.c:3340)
==24478==    by 0x4E3D4F5: do_loop (rtsp-media.c:247)
==24478==    by 0x6A77F44: g_thread_proxy (gthread.c:801)
==24478==    by 0x6D09B4F: start_thread (pthread_create.c:304)
==24478==    by 0x6FF770C: clone (clone.S:112)
==24478==  Address 0x9a179b4 is 4 bytes inside a block of size 40 free'd
==24478==    at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24478==    by 0x4E3F999: gst_rtsp_media_finalize (rtsp-media.c:184)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x4E4ABDD: gst_rtsp_client_finalize (rtsp-client.c:233)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x6A52B69: g_source_unref_internal (gmain.c:1649)
==24478==    by 0x6A55427: g_main_context_dispatch (gmain.c:2567)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55743: g_main_context_iteration (gmain.c:3207)
==24478==    by 0x402970: iterate (rtspserver.c:57)
==24478==    by 0x4036E6: test_describe (rtspserver.c:502)
==24478==    by 0x5A2DE97: srunner_run_all (check_run.c:372)
==24478==    by 0x5A2864C: gst_check_run_suite (gstcheck.c:663)
==24478==    by 0x402390: main (rtspserver.c:745)
==24478== 
==24478== Invalid read of size 4
==24478==    at 0x6D0C163: pthread_mutex_lock (pthread_mutex_lock.c:127)
==24478==    by 0x4E3C43C: bus_message (rtsp-media.c:1081)
==24478==    by 0x5C6F426: gst_bus_source_dispatch (gstbus.c:773)
==24478==    by 0x6A55354: g_main_context_dispatch (gmain.c:2539)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55A81: g_main_loop_run (gmain.c:3340)
==24478==    by 0x4E3D4F5: do_loop (rtsp-media.c:247)
==24478==    by 0x6A77F44: g_thread_proxy (gthread.c:801)
==24478==    by 0x6D09B4F: start_thread (pthread_create.c:304)
==24478==    by 0x6FF770C: clone (clone.S:112)
==24478==  Address 0x9a179bc is 12 bytes inside a block of size 40 free'd
==24478==    at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24478==    by 0x4E3F999: gst_rtsp_media_finalize (rtsp-media.c:184)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x4E4ABDD: gst_rtsp_client_finalize (rtsp-client.c:233)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x6A52B69: g_source_unref_internal (gmain.c:1649)
==24478==    by 0x6A55427: g_main_context_dispatch (gmain.c:2567)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55743: g_main_context_iteration (gmain.c:3207)
==24478==    by 0x402970: iterate (rtspserver.c:57)
==24478==    by 0x4036E6: test_describe (rtspserver.c:502)
==24478==    by 0x5A2DE97: srunner_run_all (check_run.c:372)
==24478==    by 0x5A2864C: gst_check_run_suite (gstcheck.c:663)
==24478==    by 0x402390: main (rtspserver.c:745)
==24478== 
==24478== Invalid write of size 4
==24478==    at 0x6D0C168: pthread_mutex_lock (pthread_mutex_lock.c:125)
==24478==    by 0x4E3C43C: bus_message (rtsp-media.c:1081)
==24478==    by 0x5C6F426: gst_bus_source_dispatch (gstbus.c:773)
==24478==    by 0x6A55354: g_main_context_dispatch (gmain.c:2539)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55A81: g_main_loop_run (gmain.c:3340)
==24478==    by 0x4E3D4F5: do_loop (rtsp-media.c:247)
==24478==    by 0x6A77F44: g_thread_proxy (gthread.c:801)
==24478==    by 0x6D09B4F: start_thread (pthread_create.c:304)
==24478==    by 0x6FF770C: clone (clone.S:112)
==24478==  Address 0x9a179b8 is 8 bytes inside a block of size 40 free'd
==24478==    at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24478==    by 0x4E3F999: gst_rtsp_media_finalize (rtsp-media.c:184)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x4E4ABDD: gst_rtsp_client_finalize (rtsp-client.c:233)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x6A52B69: g_source_unref_internal (gmain.c:1649)
==24478==    by 0x6A55427: g_main_context_dispatch (gmain.c:2567)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55743: g_main_context_iteration (gmain.c:3207)
==24478==    by 0x402970: iterate (rtspserver.c:57)
==24478==    by 0x4036E6: test_describe (rtspserver.c:502)
==24478==    by 0x5A2DE97: srunner_run_all (check_run.c:372)
==24478==    by 0x5A2864C: gst_check_run_suite (gstcheck.c:663)
==24478==    by 0x402390: main (rtspserver.c:745)
==24478== 
==24478== Invalid read of size 8
==24478==    at 0x6A91510: g_rec_mutex_unlock (gthread-posix.c:396)
==24478==    by 0x4E3C45F: bus_message (rtsp-media.c:1086)
==24478==    by 0x5C6F426: gst_bus_source_dispatch (gstbus.c:773)
==24478==    by 0x6A55354: g_main_context_dispatch (gmain.c:2539)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55A81: g_main_loop_run (gmain.c:3340)
==24478==    by 0x4E3D4F5: do_loop (rtsp-media.c:247)
==24478==    by 0x6A77F44: g_thread_proxy (gthread.c:801)
==24478==    by 0x6D09B4F: start_thread (pthread_create.c:304)
==24478==    by 0x6FF770C: clone (clone.S:112)
==24478==  Address 0x9a176e8 is 104 bytes inside a block of size 248 free'd
==24478==    at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24478==    by 0x61DD944: g_type_free_instance (gtype.c:1937)
==24478==    by 0x4E4ABDD: gst_rtsp_client_finalize (rtsp-client.c:233)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x6A52B69: g_source_unref_internal (gmain.c:1649)
==24478==    by 0x6A55427: g_main_context_dispatch (gmain.c:2567)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55743: g_main_context_iteration (gmain.c:3207)
==24478==    by 0x402970: iterate (rtspserver.c:57)
==24478==    by 0x4036E6: test_describe (rtspserver.c:502)
==24478==    by 0x5A2DE97: srunner_run_all (check_run.c:372)
==24478==    by 0x5A2864C: gst_check_run_suite (gstcheck.c:663)
==24478==    by 0x402390: main (rtspserver.c:745)
==24478== 
==24478== Invalid read of size 4
==24478==    at 0x6D0D604: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:37)
==24478==    by 0x4E3C45F: bus_message (rtsp-media.c:1086)
==24478==    by 0x5C6F426: gst_bus_source_dispatch (gstbus.c:773)
==24478==    by 0x6A55354: g_main_context_dispatch (gmain.c:2539)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55A81: g_main_loop_run (gmain.c:3340)
==24478==    by 0x4E3D4F5: do_loop (rtsp-media.c:247)
==24478==    by 0x6A77F44: g_thread_proxy (gthread.c:801)
==24478==    by 0x6D09B4F: start_thread (pthread_create.c:304)
==24478==    by 0x6FF770C: clone (clone.S:112)
==24478==  Address 0x9a179c0 is 16 bytes inside a block of size 40 free'd
==24478==    at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24478==    by 0x4E3F999: gst_rtsp_media_finalize (rtsp-media.c:184)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x4E4ABDD: gst_rtsp_client_finalize (rtsp-client.c:233)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x6A52B69: g_source_unref_internal (gmain.c:1649)
==24478==    by 0x6A55427: g_main_context_dispatch (gmain.c:2567)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55743: g_main_context_iteration (gmain.c:3207)
==24478==    by 0x402970: iterate (rtspserver.c:57)
==24478==    by 0x4036E6: test_describe (rtspserver.c:502)
==24478==    by 0x5A2DE97: srunner_run_all (check_run.c:372)
==24478==    by 0x5A2864C: gst_check_run_suite (gstcheck.c:663)
==24478==    by 0x402390: main (rtspserver.c:745)
==24478== 
==24478== Invalid read of size 4
==24478==    at 0x6D0D270: __pthread_mutex_unlock_full (pthread_mutex_unlock.c:86)
==24478==    by 0x4E3C45F: bus_message (rtsp-media.c:1086)
==24478==    by 0x5C6F426: gst_bus_source_dispatch (gstbus.c:773)
==24478==    by 0x6A55354: g_main_context_dispatch (gmain.c:2539)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55A81: g_main_loop_run (gmain.c:3340)
==24478==    by 0x4E3D4F5: do_loop (rtsp-media.c:247)
==24478==    by 0x6A77F44: g_thread_proxy (gthread.c:801)
==24478==    by 0x6D09B4F: start_thread (pthread_create.c:304)
==24478==    by 0x6FF770C: clone (clone.S:112)
==24478==  Address 0x9a179c0 is 16 bytes inside a block of size 40 free'd
==24478==    at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24478==    by 0x4E3F999: gst_rtsp_media_finalize (rtsp-media.c:184)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x4E4ABDD: gst_rtsp_client_finalize (rtsp-client.c:233)
==24478==    by 0x61C2637: g_object_unref (gobject.c:3018)
==24478==    by 0x6A52B69: g_source_unref_internal (gmain.c:1649)
==24478==    by 0x6A55427: g_main_context_dispatch (gmain.c:2567)
==24478==    by 0x6A55687: g_main_context_iterate.isra.23 (gmain.c:3146)
==24478==    by 0x6A55743: g_main_context_iteration (gmain.c:3207)
==24478==    by 0x402970: iterate (rtspserver.c:57)
==24478==    by 0x4036E6: test_describe (rtspserver.c:502)
==24478==    by 0x5A2DE97: srunner_run_all (check_run.c:372)
==24478==    by 0x5A2864C: gst_check_run_suite (gstcheck.c:663)
==24478==    by 0x402390: main (rtspserver.c:745)
==24478== 
==24478== Thread 1:
==24478== 240 bytes in 3 blocks are definitely lost in loss record 3,343 of 3,478
==24478==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==24478==    by 0x6A5AF30: g_malloc (gmem.c:159)
==24478==    by 0x6A6F322: g_slice_alloc (gslice.c:1003)
==24478==    by 0x6A6F875: g_slice_alloc0 (gslice.c:1029)
==24478==    by 0x61DD9F9: g_type_create_instance (gtype.c:1872)
==24478==    by 0x61C2817: g_object_constructor (gobject.c:1849)
==24478==    by 0x61C3DE0: g_object_newv (gobject.c:1713)
==24478==    by 0x61C45CF: g_object_new_valist (gobject.c:1830)
==24478==    by 0x572A8CD: g_initable_new_valist (ginitable.c:224)
==24478==    by 0x572A9C8: g_initable_new (ginitable.c:148)
==24478==    by 0x5740135: g_socket_new (gsocket.c:1010)
==24478==    by 0xB25D4A8: gst_udpsrc_start (gstudpsrc.c:770)
==24478==    by 0x508662D: gst_base_src_start (gstbasesrc.c:3123)
==24478==    by 0x5086A07: gst_base_src_activate_mode (gstbasesrc.c:3491)
==24478==    by 0x5C97B32: gst_pad_activate_mode (gstpad.c:1060)
==24478==    by 0x5C98380: gst_pad_set_active (gstpad.c:936)
==24478==    by 0x5C7B8A2: activate_pads (gstelement.c:2679)
==24478==    by 0x5C8AED3: gst_iterator_fold (gstiterator.c:614)
==24478==    by 0x5C7BAA4: iterator_activate_fold_with_resync.constprop.2 (gstelement.c:2699)
==24478==    by 0x5C7D8E8: gst_element_pads_activate (gstelement.c:2735)
==24478== 
100%: Checks: 1, Failures: 0, Errors: 0
make: Leaving directory `/home/davidsf/gst/head/gst-rtsp-server/tests/check'
