[Bug 734716] bus: signal watched added in a new thread-default context can't be removed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 13 08:16:29 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734716
  GStreamer | gstreamer (core) | git

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #283291|none                        |needs-work
             status|                            |

--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-08-13 15:16:25 UTC ---
(From update of attachment 283291)
valgrind is not happy in the unit test:

Running suite(s): GstBus
==16859== Invalid read of size 8
==16859==    at 0x5A4E835: g_source_unref (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==16859==    by 0x403635: test_watch_with_poll (gstbus.c:397)
==16859==    by 0x4E40D52: srunner_run_all (check_run.c:372)
==16859==    by 0x4E3AF60: gst_check_run_suite (gstcheck.c:817)
==16859==    by 0x402E78: main (gstbus.c:729)
==16859==  Address 0x6cd19e0 is 32 bytes inside a block of size 104 free'd
==16859==    at 0x4C29730: free (vg_replace_malloc.c:468)
==16859==    by 0x5A4D0A7: g_source_unref_internal (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==16859==    by 0x5A4D458: g_source_destroy_internal (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==16859==    by 0x52E85B4: gst_bus_remove_signal_watch (gstbus.c:1341)
==16859==    by 0x403635: test_watch_with_poll (gstbus.c:397)
==16859==    by 0x4E40D52: srunner_run_all (check_run.c:372)
==16859==    by 0x4E3AF60: gst_check_run_suite (gstcheck.c:817)
==16859==    by 0x402E78: main (gstbus.c:729)
==16859== 
==16859== Invalid read of size 4
==16859==    at 0x5A4D0E8: g_source_unref_internal (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==16859==    by 0x403635: test_watch_with_poll (gstbus.c:397)
==16859==    by 0x4E40D52: srunner_run_all (check_run.c:372)
==16859==    by 0x4E3AF60: gst_check_run_suite (gstcheck.c:817)
==16859==    by 0x402E78: main (gstbus.c:729)
==16859==  Address 0x6cd19d8 is 24 bytes inside a block of size 104 free'd
==16859==    at 0x4C29730: free (vg_replace_malloc.c:468)
==16859==    by 0x5A4D0A7: g_source_unref_internal (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==16859==    by 0x5A4D458: g_source_destroy_internal (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==16859==    by 0x52E85B4: gst_bus_remove_signal_watch (gstbus.c:1341)
==16859==    by 0x403635: test_watch_with_poll (gstbus.c:397)
==16859==    by 0x4E40D52: srunner_run_all (check_run.c:372)
==16859==    by 0x4E3AF60: gst_check_run_suite (gstcheck.c:817)
==16859==    by 0x402E78: main (gstbus.c:729)
==16859==

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