[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2020-05-09 Thread teo1978
This is not fixed on Ubuntu 16.04

For fuck's sake!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-07-05 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:17.10.15

---
update-manager (1:17.10.15) artful; urgency=medium

  * Block style context changed signal while enforcing the main window's
constant size. Thanks to Thomas Waldmann and Sebastien Bacher for the
initial analysis of  this bug. (LP: #1637180)

 -- Mathieu Trudel-Lapierre   Tue, 19 Jun 2018
09:55:31 -0400

** Changed in: update-manager (Ubuntu Artful)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-07-04 Thread Mathieu Trudel-Lapierre
Verification-done on artful, using update-manager 1:17.10.15:

Verified that the application does not take 100% CPU while waiting for
input at the "computer needs restart" dialog; and the expected code
changes are applied on the python modules on disk. Applying updates
completed without issues.

** Tags removed: verification-needed verification-needed-artful
** Tags added: verification-done-artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-20 Thread Robie Basak
Hello Giuseppe, or anyone else affected,

Accepted update-manager into artful-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
manager/1:17.10.15 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: update-manager (Ubuntu Artful)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-18 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:18.04.11.2

---
update-manager (1:18.04.11.2) bionic; urgency=medium

  * Fix my embarassing typo that makes update-manager report crashes, when
instanciating the "reboot" dialog and mangling signals. (LP: #1774131)

update-manager (1:18.04.11.1) bionic; urgency=medium

  * Block style context changed signal while enforcing the main window's
constant size. Thanks to Thomas Waldmann and Sebastien Bacher for the
initial analysis of  this bug. (LP: #1637180)

 -- Mathieu Trudel-Lapierre   Fri, 08 Jun 2018
11:50:10 -0700

** Changed in: update-manager (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-13 Thread Mathieu Trudel-Lapierre
Verification-done with update-manager/1:18.04.11.2 on bionic:

Verified that the restart CPU does not show 100% CPU usage, and it does
show without crashing update-manager. AFAICT this is fixed correctly.

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-12 Thread Giuseppe D'Angelo
Hi,

Unfortunately I'm still on 16.04, waiting for 18.04.1 to upgrade, so I
can't test the proposed right now...

Thanks for all the effort at fixing this annoyance!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-31 Thread Brian Murray
Hello Giuseppe, or anyone else affected,

Accepted update-manager into bionic-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
manager/1:18.04.11.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: update-manager (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

** Changed in: hundredpapercuts
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:18.10.1

---
update-manager (1:18.10.1) cosmic; urgency=medium

  * Block style context changed signal while enforcing the main window's
constant size. Thanks to Thomas Waldmann and Sebastien Bacher for the
initial analysis of  this bug. (LP: #1637180)

 -- Mathieu Trudel-Lapierre   Mon, 28 May 2018
10:03:52 -0400

** Changed in: update-manager (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Mathieu Trudel-Lapierre
** Changed in: update-manager (Ubuntu)
 Assignee: Adam Conrad (adconrad) => Mathieu Trudel-Lapierre (cyphermox)

** Changed in: update-manager (Ubuntu Bionic)
 Assignee: Adam Conrad (adconrad) => Mathieu Trudel-Lapierre (cyphermox)

** Changed in: update-manager (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: update-manager (Ubuntu Bionic)
   Status: Confirmed => In Progress

** Description changed:

+ [Impact]
+ Ubuntu users wishing to run updates, potentially with specific combinations 
of customized theming on their desktop.
+ 
+ [Test case]
+ 1) Run update-manager
+ 2) Apply updates (this should include an update that requires reboot, such as 
a kernel update, system library (libc?)...
+ 3) Let the "This computer needs to restart" dialog appear.
+ 
+ [Regression potential]
+ Failure of the "restart" dialog to appear or screen/window corruption when 
this dialog appears should be investigated as possible regressions. It is also 
possible that the behavior of the window changes in that its size might not 
remain static.
+ 
+ 
+ ---
+ 
  After installing certain updates (kernel, system libraries, etc.), the
  "The computer needs to restart" dialog appears periodically, prompting
  the user to restart the system.
  
  That dialog eats a constant 8-10% of CPU time. That's the issue. (Yes,
  update-manager is niced to 10, but why consuming *any* CPU at all for
  showing a static dialog?)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: update-manager 1:16.04.4
  ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
  Uname: Linux 4.4.0-38-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Oct 27 14:07:11 2016
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
-  b'com.ubuntu.update-manager' b'show-details' b'true'
-  b'com.ubuntu.update-manager' b'window-height' b'766'
-  b'com.ubuntu.update-manager' b'first-run' b'false'
-  b'com.ubuntu.update-manager' b'window-width' b'939'
-  b'com.ubuntu.update-manager' b'launch-time' b'1477544773'
+  b'com.ubuntu.update-manager' b'show-details' b'true'
+  b'com.ubuntu.update-manager' b'window-height' b'766'
+  b'com.ubuntu.update-manager' b'first-run' b'false'
+  b'com.ubuntu.update-manager' b'window-width' b'939'
+  b'com.ubuntu.update-manager' b'launch-time' b'1477544773'
  InstallationDate: Installed on 2016-04-22 (188 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  InterpreterPath: /usr/bin/python3.5
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/update-manager/bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Launchpad Bug Tracker
** Branch linked: lp:update-manager

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-04-20 Thread Brian Murray
** Tags added: rls-bb-notfixing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-11-09 Thread Steve Langasek
** Also affects: update-manager (Ubuntu Bionic)
   Importance: High
 Assignee: Adam Conrad (adconrad)
   Status: Confirmed

** Tags removed: rls-bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-11-04 Thread Thomas Waldmann
This issue has priority "high" and is now over one year old.

A fix is known (see my post above) - I apply this diff each time a
update-manager update overwrites the patched version on my laptop and it
works ok for me since I wrote it.

So, can we have this finally fixed, please? In all supported releases?

As long as you can't come up with a cosmetically nicer fix than mine,
how about just applying mine to fix the big problem and do the cosmetics
later?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-09-29 Thread Francis Ginther
** Tags added: id-597a83347da07175ddd93722

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-09-11 Thread Brian Murray
** Tags added: rls-aa-notfixing rls-bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-08-28 Thread Sebastien Bacher
some guessing work/suggestion here, resize_to_standard_width() does

ctx = self.get_style_context()
size = ctx.get_property("font-size", Gtk.StateFlags.NORMAL)

that's likely to create a "changed" event and trigger the loop

the usual way to fix those is to call
GObject.signal_handler_block() before those lines
and 
GObject.signal_handler_unblock()
after the lines

you just need to get the right handler in the function to do that

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-08-25 Thread Brian Murray
** This bug is no longer a duplicate of bug 1622510
   update-manager popup consumes a lot of CPU

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-08-25 Thread Brain
*** This bug is a duplicate of bug 1622510 ***
https://bugs.launchpad.net/bugs/1622510

** This bug has been marked a duplicate of bug 1622510
   update-manager popup consumes a lot of CPU

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-20 Thread Thomas Waldmann
this is the easiest way to fix the issue (not perfect though, dialog box
looks slightly different afterwards):

--- UpdateManager.py.orig   2017-07-20 22:23:11.643707331 +0200
+++ UpdateManager.py2017-07-20 22:24:03.048405983 +0200
@@ -88,9 +88,10 @@
 self.set_icon_name("system-software-update")
 self.set_position(Gtk.WindowPosition.CENTER)
 
-# Keep window at a constant size
-ctx = self.get_style_context()
-ctx.connect("changed", lambda ctx: self.resize_to_standard_width())
+# commented as this causes high cpu load
+## Keep window at a constant size
+#ctx = self.get_style_context()
+#ctx.connect("changed", lambda ctx: self.resize_to_standard_width())
 
 # Signals
 self.connect("delete-event", self._on_close)


I suspect that the resize_to_standard_width method causes a changed signal, 
which causes it being called again (and again and again ...).

Guess this should be pretty easy to fix for someone who has a clue about
gtk (= not me).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-14 Thread Giuseppe D'Angelo
Hi Brian,

do you know some way to get a good backtrace for your purpose? Note that
this is 100% reproducible, just run update manager, and even if it tells
you that the system is up to date, switch window focus to somewhere else
to trigger the 8-10% CPU usage.

A quick gdb -p PID and bt doesn't convey much information, the app is
stuck in GTK's event loop:

(gdb) bt
#0  0x7f31edfd170d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7f31ec62338c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f31ec623712 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f31e3f33395 in gtk_main () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#4  0x7f31ec3d6e40 in ffi_call_unix64 () from 
/usr/lib/x86_64-linux-gnu/libffi.so.6
#5  0x7f31ec3d68ab in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#6  0x7f31ecdc58fc in ?? () from 
/usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
#7  0x7f31ecdc73e8 in ?? () from 
/usr/lib/python3/dist-packages/gi/_gi.cpython-35m-x86_64-linux-gnu.so
#8  0x005b7167 in PyObject_Call ()
#9  0x00528d06 in PyEval_EvalFrameEx ()
#10 0x0052d2e3 in ?? ()
#11 0x0052dfdf in PyEval_EvalCode ()
#12 0x005fd2c2 in ?? ()
#13 0x005ff76a in PyRun_FileExFlags ()
#14 0x005ff95c in PyRun_SimpleFileExFlags ()
#15 0x0063e7d6 in Py_Main ()
#16 0x004cfe41 in main ()


Also when this happens strace shows just an endless and constant stream of 
poll() wakeups over the X11 socket descriptor:

poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN}, 
{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 5, 498) = 1 ([{fd=3, 
revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, 
msg_iov(1)=[{"A\0Db\374\23`\4\3\0\202\0\f\0`\4\0P8\0\0\0\0\0\0\0\0\0\0\0\0\0", 
4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fffa8436e80, 0)   = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(3, 0x7fffa8436d30, 0)   = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(3, 0x7fffa8436e60, 0)   = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN}, 
{fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 5, 498) = 1 ([{fd=3, 
revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, 
msg_iov(1)=[{"#\203|b\32\0\0\0\6\0\2\0\340\330\333\10\0\0\0\0\366\0\0\0\7\0`\4\0\0\0\0"...,
 4096}], msg_controllen=0, msg_flags=0}, 0) = 136
recvmsg(3, 0x7fffa8436e80, 0)   = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(3, 0x7fffa8436d30, 0)   = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(3, 0x7fffa8436e60, 0)   = -1 EAGAIN (Resource temporarily 
unavailable)


This stops as soon as the window gets focused.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-14 Thread Brian Murray
I meant backtrace not stacktrace.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-14 Thread Brian Murray
Thomas if you could get a stacktrace of update-manager so we can figure
out what it is doing that would be helpful.  If we can fix it then yes
we would fix it in stable releases, including Ubuntu 16.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-12 Thread Thomas Waldmann
@brian I also have intel gfx (haswell generation integrated gfx) in my
laptop and this issue is happening about every day for me (each time
update-manager waits for my final click - which is kind of superfluous
anyway for cases where updates worked flawlessly).

So I am wondering whether this gets a high enough priority considering
this was reported over half a year ago.

I am currently on a conference, so running on battery power frequently
and not having a power socket available as often / as long as needed.

Noticing (this time not due to fan noise [too loud here to notice], but
due to hot air coming out of the fan) that it needlessly burned battery
power again is so annoying. :-(

Also, I am wondering if this will ever get fixed in 16.04.x or just in
the latest / upcoming releases?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-22 Thread Dimitri John Ledkov
** Tags removed: rls-aa-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-22 Thread Steve Langasek
** Changed in: update-manager (Ubuntu Artful)
 Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

** Changed in: update-manager (Ubuntu Artful)
 Assignee: Mathieu Trudel-Lapierre (cyphermox) => Adam Conrad (adconrad)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-12 Thread Brian Murray
I tried recreating this on zesty with update-manager version 1:17.04.3
and I did not notice update-manager using CPU. One other difference from
the original reporter is that I am using an Intel graphics adapter. I'll
keep testing though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-09 Thread Brian Murray
** Also affects: update-manager (Ubuntu Artful)
   Importance: High
   Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-31 Thread Jarno Suni
Another oddity with Software Updater is Bug #1332543;at least in Trusty
it may still appear.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-30 Thread Thomas Waldmann
I found out something interesting right now:

- when the update manager dialogue box is the selected window, it does
not suck a lot of cpu

- but when you select something else (an icon, another window, does not
matter), cpu usage of update-manager, compiz and xorg jumps upwards (see
screenshot in my last post).

This is reproducible: cpu goes up and down when selecting one or the
other.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-29 Thread Giuseppe D'Angelo
In that case, X usage goes down, and of course compiz isn't there any
more, but the dialog is still eating CPU. I don't know anything about
GTK nor python, so I don't really know how to track this down, otherwise
I would've already done that...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-25 Thread Jarno Suni
Could you try disabling compiz, if it has an effect?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-24 Thread Giuseppe D'Angelo
Yes. It's likely caused by some broken code calling update() in a loop
or something like that. Yet, we're looking at a 30-40% aggregated
between the app, X and compiz.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-24 Thread Jarno Suni
Do CPU usage of Xorg and compiz decrease a lot, too, when you close the
dialog?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-24 Thread Thomas Waldmann
Attached a screenshot with proof.

When I close the dialogue, the cpu usage seen on the screenshot
vanishes, so it is definitely the update-manager dialogue causing this.

This is a real annoyance and I am asking myself how many kWh get burned
down every day without reason due to this.

** Attachment added: "updmgr-sucks.png"
   
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1637180/+attachment/4882595/+files/updmgr-sucks.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-23 Thread Jarno Suni
I do not notice CPU usage of "computer is up to date" dialogue box.
Maybe it is some hardware driver that uses the CPU power?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-01 Thread Brian Murray
** Tags removed: rls-z-incoming
** Tags added: rls-aa-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-02-17 Thread Alberto Salvia Novella
** Changed in: update-manager (Ubuntu)
   Importance: Undecided => High

** Also affects: hundredpapercuts
   Importance: Undecided
   Status: New

** Changed in: hundredpapercuts
   Status: New => Confirmed

** Changed in: hundredpapercuts
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-02-17 Thread Thomas Waldmann
Also affects me and is not limited to the "needs to restart" dialogue
box.

It also happens for the "computer is up to date" dialogue box shown
after applying updates.

Maybe for ANY such dialogue box?

Please fix, this is a real annoyance to having to click on "OK" just to
stop the CPU fan spinning all the time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-01-27 Thread Brian Murray
** Tags added: rls-z-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-01-25 Thread fugounashi
can confirm this bug in 16.04.  noticed a few months ago and still
present as of now

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-01-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: update-manager (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180

Title:
  "The computer needs to restart" dialog constantly eats CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1637180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs