This piece of code is very simple and easy to debug. I think after some careful examinations, it can be stable.
If the crash is caused by libpolkit-agent itself, this is not acceptable as it's a security hole. It should be fixed immediately upstream and this is not the problem of session manager.
Crashing of policykit should be nearly impossible for a distro. Otherwise, it will be a security hole. So no matter it's stable or not, upstream authors will fix it and make it stable enough.
On Wed, Aug 24, 2011 at 5:40 AM, Julien Lavergne <gilir@ubuntu.com> wrote:
Le Sunday 21 August 2011 à 14:04 +0800, PCMan a écrit :
> Some may argue that session manager should not be mixed with other
> stuff. This is true most of the times. However the rationale behind
> this move is quite simple. These daemons are all essential parts of
> the DE. They have completely the same lifespan and they should work
> together. They are all small and simple. So putting them in one single
> daemon should be better than running many separate daemons in terms of
> resource usage and efficiency. In addition, it will be easier for
> upstream developer and packager to maintain.

What about the stability ? Having the 2 running in the same process mean
that any crash on 1 kill the session, which is quite critical.

Regards,
Julien Lavergne.