[pulseaudio-discuss] about re-load module

Keen tsochung41 at gmail.com
Wed Jan 30 16:37:56 UTC 2019


If I mark dlclose ,reload module is work.

Rémi Denis-Courmont <remi at remlab.net> 於 2019年1月30日 週三 上午12:19寫道:

> Le maanantaina 28. tammikuuta 2019, 3.24.10 EET Keen a écrit :
> > Hi Everyone,
> >
> > Pulseaudio daemon is broken, when reload module.
> >
> > could you give me some suggestions?
> >
> > Following steps
> >
> > 1.load-module module-null-source
> >
> > 2.unload-module module-null-source
> >
> > 3.load-module module-null-source   ==> pulseaudio crash..
>
> To be fair, POSIX does not guarantee that dlclose() does anything and that
> dlopen() on the same file will do anything either. And some libc actually
> do
> nothing, e.g. musl.
>
> So I am not sure if exposing such functionality is even a good idea...
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
>
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20190131/c7e526b2/attachment.html>


More information about the pulseaudio-discuss mailing list