[Pkg-utopia-maintainers] Bug#827530: [pkg-cinnamon] Bug#827507: cinnamon-settings segfaults on entering power settings applet

Michael Biebl biebl at debian.org
Thu Jun 23 00:33:45 UTC 2016


On Fri, 17 Jun 2016 15:21:23 +0200 Maximiliano Curia
<maxy at gnuservers.com.ar> wrote:
>  up_client = UPowerGlib.Client()
>  has_lid = up_client.get_lid_is_present()
> ------------
> 
> With the new version that snippet segfaults. I'm not well versed in the gi 
> internals but it seems to me that UPowerGlib.Client() is not creating a new 
> instance, probably related to the fact that it used to be a singleton, I'm not 
> sure.
> 
> Using the similar version:
>  import gi
>  gi.require_version('UPowerGlib', '1.0')
>  from gi.repository import UPowerGlib
> 
>  up_client = UPowerGlib.Client.new()
>  has_lid = up_client.get_lid_is_present()
> -------------
> 
> Works as expected in both versions, so I'll probably patch this in the next 

This was a deliberate change afaics:
https://cgit.freedesktop.org/upower/commit/?id=29c5c85f6bf2a163c8713641dba634910ee3cf49

Using UPowerGlib.Client.new() seems indeed to be the way to go.

Maxy, should we reassign the bug back to cinnamon-settings?

I've checked codesearch.debian.net and cinnamon-settings seems to be the
only package which is affected.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20160623/d3fc31b9/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list