[gstreamer-bugs] [Bug 625442] crash: pa_threaded_mainloop_stop is called from the pa thread
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jul 28 12:47:34 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=625442
GStreamer | gst-plugins-good | 0.10.22
gudake changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
--- Comment #2 from gudake at gmail.com 2010-07-28 19:47:32 UTC ---
this is not a duplication of bug 614765, it's introduced in fixing 614765.
What bug 614765 did is ref pulsesink before firing the pa_mainloop_api_once(),
and unref the pulsesink in the callback. This makes sure that the pulse
callback function is always called on a valid pulsesink. BUT it introduce a
new problem, if the pulse callback function is the LAST one being called, it
will finalize the pulsesink and calling pa_threaded_mainloop_stop() from the
pathread, which is prohibited, because if you take a look of
pa_threaded_mainloop_stop(), it calls pthread_join(), you CANNOT
pthread_join() with the same thread.
--
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