[pulseaudio-discuss] Are these crashes fixed with any patches post 6.0?

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Apr 13 05:49:07 PDT 2015


On Mon, 2015-04-13 at 15:46 +0300, Tanu Kaskinen wrote:
> On Mon, 2015-04-13 at 14:21 +0200, David Henningsson wrote:
> > diff --git a/src/daemon/main.c b/src/daemon/main.c
> > index deb1e43..039957f 100644
> > --- a/src/daemon/main.c
> > +++ b/src/daemon/main.c
> > @@ -1157,6 +1157,7 @@ finish:
> >       if (c) {
> >           /* Ensure all the modules/samples are unloaded when the core 
> > is still ref'ed,
> >            * as unlink callback hooks in modules may need the core to be 
> > ref'ed */
> > +        c->disallow_module_loading = true;
> >           pa_module_unload_all(c);
> >           pa_scache_free_all(c);
> 
> That seems a sensible thing to do, or alternatively check whether the
> daemon is shutting down in pa_module_unload().

Sorry, I of course meant pa_module_load().

-- 
Tanu



More information about the pulseaudio-discuss mailing list