After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628020 - [pulsesink] assertion failure in change_state NULL->READY
[pulsesink] assertion failure in change_state NULL->READY
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-26 09:54 UTC by Philippe Normand
Modified: 2010-09-04 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philippe Normand 2010-08-26 09:54:29 UTC
In the change_state function:

    case GST_STATE_CHANGE_NULL_TO_READY:
      g_assert (pulsesink->mainloop == NULL);
      pulsesink->mainloop = pa_threaded_mainloop_new ();
      g_assert (pulsesink->mainloop != NULL);

But pa_threaded_mainloop_new() can return NULL in one case. See http://git.0pointer.de/?p=pulseaudio.git;a=blob;f=src/pulse/thread-mainloop.c;h=c3cf49c4d7841af52287c082340acf27dc1670f9;hb=HEAD#l106

Sebastian fixed it already and will push the fix after the freeze :)
Comment 1 Sebastian Dröge (slomo) 2010-08-26 10:20:34 UTC
Exactly, fix comes after the release :)
Comment 2 Sebastian Dröge (slomo) 2010-09-04 13:09:35 UTC
commit 37ee281d133eebb36163f77d04c1451f2bbfd211
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Thu Aug 26 13:44:49 2010 +0200

    pulsesink: Fail gracefully if no threaded PA mainloop can be created
    
    Fixes bug #628020.