[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779818: marked as done (unblock (pre-approval): mate-power-manager/1.8.1+dfsg1-4)



Your message dated Fri, 06 Mar 2015 07:51:55 +0100
with message-id <54F94E8B.9080008@thykier.net>
and subject line Re: Bug#779818: unblock: mate-power-manager/1.8.1+dfsg1-4
has caused the Debian Bug report #779818,
regarding unblock (pre-approval): mate-power-manager/1.8.1+dfsg1-4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
779818: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779818
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package mate-power-manager

As described for gnome-power-statistics in #774546 [1] the same
segfaulting issue can be found in mate-power-manager.

+  * debian/patches:
+    + Add 0002_handle-UP-DEVICE-STATE-UNKNOWN.patch. Handle
+      UP_DEVICE_STATE_UNKNOWN device states, avoid g_assert_not_reached().
+      Fix segfaulting of mate-power-statistics in certain situations.
+      (Closes: #779719). See also #774546.
+

-> By appropriately handling UP_DEVICE_STATE_UNKNOWN device states, the
segfaulting as described in #774546 (for gnome-power-statistics) can be
prevented.

[1] http://bugs.debian.org/774546

unblock mate-power-manager/1.8.1+dfsg1-4

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff -Nru mate-power-manager-1.8.1+dfsg1/debian/changelog mate-power-manager-1.8.1+dfsg1/debian/changelog
--- mate-power-manager-1.8.1+dfsg1/debian/changelog	2015-01-12 06:11:59.000000000 +0100
+++ mate-power-manager-1.8.1+dfsg1/debian/changelog	2015-03-05 08:10:57.000000000 +0100
@@ -1,3 +1,13 @@
+mate-power-manager (1.8.1+dfsg1-4) unstable; urgency=medium
+
+  * debian/patches:
+    + Add 0002_handle-UP-DEVICE-STATE-UNKNOWN.patch. Handle
+      UP_DEVICE_STATE_UNKNOWN device states, avoid g_assert_not_reached().
+      Fix segfaulting of mate-power-statistics in certain situations.
+      (Closes: #779719). See also #774546.
+
+ -- Mike Gabriel <sunweaver@debian.org>  Thu, 05 Mar 2015 05:42:14 +0100
+
 mate-power-manager (1.8.1+dfsg1-3) unstable; urgency=medium
 
   * debian/patches:
diff -Nru mate-power-manager-1.8.1+dfsg1/debian/patches/0002_handle-UP-DEVICE-STATE-UNKNOWN.patch mate-power-manager-1.8.1+dfsg1/debian/patches/0002_handle-UP-DEVICE-STATE-UNKNOWN.patch
--- mate-power-manager-1.8.1+dfsg1/debian/patches/0002_handle-UP-DEVICE-STATE-UNKNOWN.patch	1970-01-01 01:00:00.000000000 +0100
+++ mate-power-manager-1.8.1+dfsg1/debian/patches/0002_handle-UP-DEVICE-STATE-UNKNOWN.patch	2015-03-05 05:49:51.000000000 +0100
@@ -0,0 +1,22 @@
+From da18a02b5d38cc65709c8e9071a694e2c35cf603 Mon Sep 17 00:00:00 2001
+From: monsta <monsta@inbox.ru>
+Date: Wed, 4 Mar 2015 15:18:00 +0300
+Subject: [PATCH] upower: handle UP_DEVICE_STATE_UNKNOWN, avoid assert
+
+---
+ src/gpm-upower.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/src/gpm-upower.c
++++ b/src/gpm-upower.c
+@@ -652,6 +652,10 @@
+ 		/* TRANSLATORS: battery state */
+ 		state_string = _("Waiting to discharge");
+ 		break;
++	case UP_DEVICE_STATE_UNKNOWN:
++		/* TRANSLATORS: battery state */
++		state_string = _("Unknown state");
++		break;
+ 	default:
+ 		g_assert_not_reached ();
+ 		break;
diff -Nru mate-power-manager-1.8.1+dfsg1/debian/patches/series mate-power-manager-1.8.1+dfsg1/debian/patches/series
--- mate-power-manager-1.8.1+dfsg1/debian/patches/series	2015-01-12 06:10:13.000000000 +0100
+++ mate-power-manager-1.8.1+dfsg1/debian/patches/series	2015-03-05 05:40:46.000000000 +0100
@@ -1,3 +1,4 @@
 0001_fix-backlight-popup-gtkbuilder.patch
+0002_handle-UP-DEVICE-STATE-UNKNOWN.patch
 2001_omit-gfdl-licensed-help-files.patch
 2002_compile-extra-man-pages.patch

--- End Message ---
--- Begin Message ---
On 2015-03-06 06:25, Mike Gabriel wrote:
> Control: tags -1 - moreinfo.
> 
> On  Do 05 Mär 2015 22:19:28 CET, Niels Thykier wrote:
> 
>> [...]
> 
> upload and accepted in unstable
> 
> light+love,
> Mike

Unblocked, thanks.

~Niels

--- End Message ---

Reply to: