Debian Bug report logs - #827507
cinnamon-settings segfaults on entering power settings applet

version graph

Package: cinnamon; Maintainer for cinnamon is Debian Cinnamon Team <debian-cinnamon@lists.debian.org>; Source for cinnamon is src:cinnamon (PTS, buildd, popcon).

Reported by: Krzysztof Słychań <krzysztof.slychan@10g.pl>

Date: Fri, 17 Jun 2016 06:21:02 UTC

Severity: normal

Found in version cinnamon/3.0.4-1

Fixed in version cinnamon/3.0.7-1

Done: Maximiliano Curia <maxy@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, krzysztof.slychan@10g.pl, Debian Cinnamon Team <pkg-cinnamon-team@lists.alioth.debian.org>:
Bug#827507; Package cinnamon. (Fri, 17 Jun 2016 06:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Krzysztof Słychań <krzysztof.slychan@10g.pl>:
New Bug report received and forwarded. Copy sent to krzysztof.slychan@10g.pl, Debian Cinnamon Team <pkg-cinnamon-team@lists.alioth.debian.org>. (Fri, 17 Jun 2016 06:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Krzysztof Słychań <krzysztof.slychan@10g.pl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cinnamon-settings segfaults on entering power settings applet
Date: Fri, 17 Jun 2016 08:17:52 +0200
Package: cinnamon
Version: 3.0.4-1
Severity: normal

Dear Maintainer,

cinnamon-settings throws a segmentation fault whenever I try to open the power settings,
be it from the panel applet or the settings window.

Steps to reproduce:
1. open "cinnamon-settings" in terminal
2. enter the power settings
3. EXPECTED: you have the power settings applet
   HAPPENS: window closes, you get segmentation fault:

$ cinnamon-settings                                                                                                                               [0] 16-06-17 8:01
Loading Power module
[1]    (PID) segmentation fault  cinnamon-settings


(tested on a clean boot, with the same result)

Power management was working about a month ago or so - possibly a regression.

I'm using systemd 230-2 and upower 0.99.4-3.
Hardware: Lenovo Thinkpad W500.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cinnamon depends on:
ii  caribou                                      0.4.20-1
ii  cinnamon-common                              3.0.4-1
ii  cinnamon-control-center                      3.0.0-1
ii  cinnamon-desktop-data                        3.0.2-1
ii  cinnamon-screensaver                         3.0.0-1
ii  cinnamon-session                             3.0.1-1
ii  cinnamon-settings-daemon                     3.0.1-2
ii  cjs                                          3.0.1-2
ii  cups-pk-helper                               0.2.5-2+b1
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-1
ii  gir1.2-accountsservice-1.0                   0.6.40-3
ii  gir1.2-caribou-1.0                           0.4.20-1
ii  gir1.2-clutter-1.0                           1.26.0-2
ii  gir1.2-cmenu-3.0                             3.0.1-1
ii  gir1.2-cogl-1.0                              1.22.0-2
ii  gir1.2-gconf-2.0                             3.2.6-3
ii  gir1.2-gdkpixbuf-2.0                         2.34.0-1
ii  gir1.2-gkbd-3.0                              3.6.0-1
ii  gir1.2-glib-2.0                              1.48.0-2
ii  gir1.2-gnomedesktop-3.0                      3.20.2-1
ii  gir1.2-gtk-3.0                               3.20.6-1
ii  gir1.2-gtkclutter-1.0                        1.8.0-1
ii  gir1.2-javascriptcoregtk-3.0                 2.4.11-1+b1
ii  gir1.2-keybinder-3.0                         0.3.1-1
ii  gir1.2-meta-muffin-0.0                       3.0.4-1
ii  gir1.2-networkmanager-1.0                    1.2.2-2
ii  gir1.2-notify-0.7                            0.7.6-2
ii  gir1.2-pango-1.0                             1.40.1-1
ii  gir1.2-polkit-1.0                            0.105-15
ii  gir1.2-soup-2.4                              2.54.1-1
ii  gir1.2-upowerglib-1.0                        0.99.4-3
ii  gir1.2-webkit-3.0                            2.4.11-1+b1
ii  gkbd-capplet                                 3.6.0-1
ii  gnome-backgrounds                            3.20-1
ii  gnome-icon-theme-symbolic                    3.12.0-2
ii  gnome-themes-standard                        3.20.2-3
ii  gsettings-desktop-schemas                    3.20.0-3
ii  libatk-bridge2.0-0                           2.20.1-2
ii  libatk1.0-0                                  2.20.0-1
ii  libc6                                        2.22-11
ii  libcairo2                                    1.14.6-1+b1
ii  libcinnamon-menu-3-0                         3.0.1-1
ii  libcjs0                                      3.0.1-2
ii  libclutter-1.0-0                             1.26.0-2
ii  libcogl-pango20                              1.22.0-2
ii  libcogl-path20                               1.22.0-2
ii  libcogl20                                    1.22.0-2
ii  libcroco3                                    0.6.11-1
ii  libgdk-pixbuf2.0-0                           2.34.0-1
ii  libgirepository-1.0-1                        1.48.0-2
ii  libgl1-mesa-glx [libgl1]                     11.2.2-1
ii  libglib2.0-0                                 2.48.1-1
ii  libglib2.0-bin                               2.48.1-1
ii  libgstreamer1.0-0                            1.8.2-1
ii  libgtk-3-0                                   3.20.6-1
ii  libjs-jquery                                 1.12.3-1
ii  libmozjs-24-0                                24.2.0-3
ii  libmuffin0                                   3.0.4-1
ii  libpango-1.0-0                               1.40.1-1
ii  libpangocairo-1.0-0                          1.40.1-1
ii  libstartup-notification0                     0.12-4
ii  libx11-6                                     2:1.6.3-1
ii  libxfixes3                                   1:5.0.1-2+b2
ii  libxml2                                      2.9.3+dfsg1-1.2
ii  mesa-utils                                   8.3.0-1
ii  nemo                                         3.0.3-1
ii  policykit-1-gnome                            0.105-3
ii  python-dbus                                  1.2.4-1
ii  python-gconf                                 2.28.1+dfsg-1.1
ii  python-gi-cairo                              3.20.1-1
ii  python-imaging                               3.2.0-2
ii  python-lxml                                  3.6.0-1
ii  python-pam                                   0.4.2-13.2
ii  python-pexpect                               4.0.1-1
ii  python-pyinotify                             0.9.6-1
pn  python3:any                                  <none>
pn  python:any                                   <none>

Versions of packages cinnamon recommends:
ii  cinnamon-l10n                         3.0.2-1
ii  gir1.2-gnomebluetooth-1.0             3.18.3-1
ii  gir1.2-nmgtk-1.0                      1.2.2-2
ii  gksu                                  2.0.2-9
ii  gnome-terminal [x-terminal-emulator]  3.20.2-1
ii  network-manager-gnome                 1.2.2-2
ii  xfce4-terminal [x-terminal-emulator]  0.6.3-2
ii  xterm [x-terminal-emulator]           325-1

Versions of packages cinnamon suggests:
pn  cinnamon-doc   <none>
pn  python-opencv  <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Cinnamon Team <pkg-cinnamon-team@lists.alioth.debian.org>:
Bug#827507; Package cinnamon. (Fri, 17 Jun 2016 13:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Maximiliano Curia <maxy@gnuservers.com.ar>:
Extra info received and forwarded to list. Copy sent to Debian Cinnamon Team <pkg-cinnamon-team@lists.alioth.debian.org>. (Fri, 17 Jun 2016 13:24:03 GMT) (full text, mbox, link).


Message #10 received at 827507@bugs.debian.org (full text, mbox, reply):

From: Maximiliano Curia <maxy@gnuservers.com.ar>
To: Krzysztof Słychań <krzysztof.slychan@10g.pl>, 827507@bugs.debian.org
Subject: Re: [pkg-cinnamon] Bug#827507: cinnamon-settings segfaults on entering power settings applet
Date: Fri, 17 Jun 2016 15:21:23 +0200
[Message part 1 (text/plain, inline)]
Control: clone -1 -2
Control: reassign -2 libupower-glib3 0.99.4-3
Control: severity -2 critical
Control: block -1 by -2

¡Hola!

El 2016-06-17 a las 08:17 +0200, Krzysztof Słychań escribió:
> Package: cinnamon 
> Version: 3.0.4-1 
> Severity: normal

> cinnamon-settings throws a segmentation fault whenever I try to open the power settings, 
> be it from the panel applet or the settings window.

> Steps to reproduce:
> 1. open "cinnamon-settings" in terminal 
> 2. enter the power settings 
> 3. EXPECTED: you have the power settings applet 
>   HAPPENS: window closes, you get segmentation fault:

> $ cinnamon-settings                                                                                                                               [0] 16-06-17 8:01 
> Loading Power module 
> [1]    (PID) segmentation fault  cinnamon-settings

> (tested on a clean boot, with the same result)
>
> Power management was working about a month ago or so - possibly a regression.
>
> I'm using systemd 230-2 and upower 0.99.4-3. 

This is caused by a change in the libupower-glib3 0.99.4-3, installing the 
0.99.4-2 version fixes the issue.

I'm cloning the bug to notify the upower maintainers about it.

Currently the cs_power module uses the gir interface doing:
import gi
gi.require_version('UPowerGlib', '1.0')
from gi.repository import UPowerGlib

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 
upload if it's not fixed in upower by then.

Happy hacking,
-- 
"Fighting patents one by one will never eliminate the danger of software
patents, any more than swatting mosquitoes will eliminate malaria."
-- Richard M. Stallman
Saludos /\/\ /\ >< `/
[signature.asc (application/pgp-signature, inline)]

Bug 827507 cloned as bug 827530 Request was from Maximiliano Curia <maxy@gnuservers.com.ar> to 827507-submit@bugs.debian.org. (Fri, 17 Jun 2016 13:24:03 GMT) (full text, mbox, link).


Added blocking bug(s) of 827507: 827530 Request was from Maximiliano Curia <maxy@gnuservers.com.ar> to 827507-submit@bugs.debian.org. (Fri, 17 Jun 2016 13:24:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Cinnamon Team <pkg-cinnamon-team@lists.alioth.debian.org>:
Bug#827507; Package cinnamon. (Thu, 07 Jul 2016 05:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Wilson <adebianuser@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Cinnamon Team <pkg-cinnamon-team@lists.alioth.debian.org>. (Thu, 07 Jul 2016 05:27:06 GMT) (full text, mbox, link).


Message #19 received at 827507@bugs.debian.org (full text, mbox, reply):

From: Michael Wilson <adebianuser@gmail.com>
To: 827507@bugs.debian.org
Subject: Re: [pkg-cinnamon] Bug#827507: cinnamon-settings segfaults on entering power settings applet
Date: Thu, 7 Jul 2016 13:25:29 +0800
Thanks for the solution. Was just posting to note initial bug
replicated on Debian Stretch release of Cinnamon.

Thanks,

Michael



Reply sent to Maximiliano Curia <maxy@debian.org>:
You have taken responsibility. (Wed, 03 Aug 2016 18:54:05 GMT) (full text, mbox, link).


Notification sent to Krzysztof Słychań <krzysztof.slychan@10g.pl>:
Bug acknowledged by developer. (Wed, 03 Aug 2016 18:54:05 GMT) (full text, mbox, link).


Message #24 received at 827507-close@bugs.debian.org (full text, mbox, reply):

From: Maximiliano Curia <maxy@debian.org>
To: 827507-close@bugs.debian.org
Subject: Bug#827507: fixed in cinnamon 3.0.7-1
Date: Wed, 03 Aug 2016 18:50:08 +0000
Source: cinnamon
Source-Version: 3.0.7-1

We believe that the bug you reported is fixed in the latest version of
cinnamon, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 827507@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated cinnamon package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 03 Aug 2016 20:19:46 +0200
Source: cinnamon
Binary: cinnamon cinnamon-doc cinnamon-common
Architecture: source
Version: 3.0.7-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Cinnamon Team <pkg-cinnamon-team@lists.alioth.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Description:
 cinnamon   - Innovative and comfortable desktop
 cinnamon-common - Innovative and comfortable desktop (Common data files)
 cinnamon-doc - Innovative and comfortable desktop (Documentation)
Closes: 827507 830053
Changes:
 cinnamon (3.0.7-1) unstable; urgency=medium
 .
   [ Margarita Manterola ]
   * Add metacity-common as a recommends, as this package ships a bunch of
     basic windowing themes including Adwaita (the default).
   * Fix dbgsym-migration rules
   * New upstream release.
 .
   [ Maximiliano Curia ]
   * Add new patch: fix_upower_segfault.patch (Closes: 827507) Thanks to
     Krzysztof Słychań for the report
   * New upstream release (3.0.7).
   * Add new patch: Migrate-away-from-gnome-common-deprecated-vars-and-
     macros.patch (Closes: #830053)
Checksums-Sha1:
 0d45b37f6ac4eb6371b9b1f12081135bf97b59a8 2871 cinnamon_3.0.7-1.dsc
 7318b77517561310995cde4f444c3b9285a5e8f3 3037242 cinnamon_3.0.7.orig.tar.gz
 b0d318b1923141604b5974c69f21acadbed6d312 52624 cinnamon_3.0.7-1.debian.tar.xz
Checksums-Sha256:
 2b1f370e61764af1211ec3244e1919334ef89b6c655661bb453f55fc8a15caa1 2871 cinnamon_3.0.7-1.dsc
 eb7b2a4fdf1175125ce43132a8084c5f1ee3589332804331746d8da4a7e53801 3037242 cinnamon_3.0.7.orig.tar.gz
 ca168c374ad94a5de3d0c42f92e9c743a9bdf29e6d1dbc86db2c8efbc5e3085f 52624 cinnamon_3.0.7-1.debian.tar.xz
Files:
 dc3a5886613ae7bf884bd8bb4a423e5f 2871 x11 optional cinnamon_3.0.7-1.dsc
 b4b3214ad7ef052dc8283d588cce8918 3037242 x11 optional cinnamon_3.0.7.orig.tar.gz
 8327557780ff9099dc7575b3d5fb65c4 52624 x11 optional cinnamon_3.0.7-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXojb/AAoJEMcZdpmymyMqoqEP/AyTGKSwjWgiw9gQRvz6Dd1p
YQSSRedjyVTUiQsQJfAbVgQj5OwScLsrIG/hgwGFmFxqAEt+Cy+tI3Oe7SlGXdVa
3yR09ufI/NfhnFFjaCczuMi0p9xdBjhUC0E4+P6HCvAgM3D5RViT96K4EN4hTrnv
yP0HMZF1aS8f4qLU2GYoD2DEs6vegZyHIzV1MwZPtayTQ+46ksPio0IGbBN+7IF9
ijeIKDL2KRSa+r5w/0er6OvjYEF6Oo6eXHoYyNnIpgz68h1WXD96afjTzHR5s7ux
HiZuO3oNLCxaQ0bxomDZvkW3FUEWF2GHFNja5ezRAgSBTEVfWMeG/dgox5jBkS/m
ggbsZNrOlKYx/AkotlnpS1Fvwlas6sCHgu0D22dNZE4k+I7VY1RkHmiaueJk4kEc
cHibxN2jsTyYAx/ebMoKVQPMP+0MZ5jrAYkMGEapQPod3rMIxNABarYPvJeF+UH0
2OWtj2YodvqI1Y3w162++xALHZPEmi4j5g23/fS4kFu28K8r4NV/D47+zQjzkNKm
56M7z658FFO49y1qwdPcYUo49MKsVX5u2xjBXKQXJplxo93JBxom6vNL4qTq6xer
FqQMnib+N6TPdPPTPynbn1OACEhKXeI38L49ZehJMSpHQvszNtfNNDA0WZh5anIj
VsLPm97FSvP8oxhmhvn5
=/UcL
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 07 Sep 2016 07:26:20 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jul 3 05:13:44 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.