[Bug 762552] Crash on repeated pipeline, bus and signal watch creation
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Feb 25 13:13:05 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=762552
Thiago Sousa Santos <thiagossantos at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #322244|0 |1
is obsolete| |
--- Comment #14 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Created attachment 322367
--> https://bugzilla.gnome.org/attachment.cgi?id=322367&action=edit
bus: change GstBusSource to hold a weak ref to GstBus
Updated to not destroy the GSource.
I think this will be racy if the mainloop is still running, the bus
can be freed while the _dispatch() is called and it will lead to
crashes.
IMHO if we are enforcing the application to unref its GSource then
it is better to let the GSource keep a regular ref. Having a leak
is better than causing crashes.
--
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