Update to bugfix release 3.18.6 in Xenial (fix extensive CPU usage in some cases)

Bug #1588104 reported by Amr Ibrahim
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
Fix Released
Undecided
Unassigned
gpaste (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned

Bug Description

IMPACT
-------
This is a bug-fix release which fixes extensive CPU usages in some cases, memory leaks and stability improvements.

Ubuntu 16.04 LTS "Xenial" currently has gpaste 3.18.3-1.

https://github.com/Keruspe/GPaste/commits/gpaste-3.18

https://github.com/Keruspe/GPaste/blob/gpaste-3.18/NEWS

NEW in 3.18.6 (17/02/2017)
=============

- fix memory leaks in the debugging logs
- fix some corner case in images handling
- stability improvements

NEW in 3.18.5 (28/06/2016)
=============

- fix some extensive CPU usage in some cases

NEW in 3.18.4 (22/05/2016)
=============

- fix crash when a search goes wrong
- fix hanging issue due to gtk+ race (?) in gtk_clipboard_store
- fix the gnome-shell menu sometimes displaying twice
- add debug logs to the core library

TEST CASE
----------
- Install gpaste from xenial-proposed and test it for at least one week to avoid any regressions
- Make sure the CPU usage is fixed
- Install the gnome-shell extension and see if it works without issues

REGRESSION POTENTIAL
---------------------
Low, as these are only bug fixes, no new features.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gpaste (Ubuntu):
status: New → Confirmed
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Gpaste-daemon 3.18.3-1 sometimes uses 99% CPU for a long time, maybe new 3.18.4 release fixes this issue?

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

It could be "fix hanging issue due to gtk+ race (?) in gtk_clipboard_store"!

Changed in gpaste (Ubuntu):
importance: Undecided → High
summary: - Update to bugfix release 3.18.4 in Xenial
+ Update to bugfix release 3.18.5 in Xenial (fix extensive CPU usage in
+ some cases)
description: updated
description: updated
summary: - Update to bugfix release 3.18.5 in Xenial (fix extensive CPU usage in
+ Update to bugfix release 3.18.6 in Xenial (fix extensive CPU usage in
some cases)
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Amir, are you willing to commit to verify this fix for 16.04 LTS if someone uploads the update?

tags: added: upgrade-software-version
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Thanks Jeremy for following up.

Yes, I'm now on 16.04 w/ Unity and willing to verify the fix.

Note: GPaste 3.18 supports building a unity appindicator. Apparently, the Debian package did not build it. According to upstream: "If you also want to build the unity application indicator, you'll have to pass --enable-unity to configure." https://github.com/Keruspe/GPaste/tree/gpaste-3.18

My question is, could the unity appindicator be built with the proposed 3.18.6 update?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Amr, thanks. If this is accepted as an update, please test it on GNOME Shell too.

I don't intend to enable the appindicator because that feature was removed in gpaste 3.24.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Amr, I have uploaded this update to the unapproved queue for xenial. It will need to be approved by a member of the ubuntu-sru team before it is built and available for testing.

Changed in gpaste (Ubuntu):
status: Confirmed → Fix Released
Changed in gpaste (Ubuntu Xenial):
importance: Undecided → High
status: New → In Progress
description: updated
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Jeremy, I also wanna verify this fix for 16.04 LTS, could you upload gpaste 3.18.6 to some PPA, because now I can't find gpaste 3.18.6 ppa packages :(

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

3.18.6 is now in the Unapproved queue https://launchpad.net/ubuntu/xenial/+queue

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Mantas, see comment #6 above.

Personally, I usually prefer to wait a bit longer for the Stable Release Update team to approve the update so that the fix is available for all Ubuntu users rather than just those who find and install from a PPA.

I apologize for the inconvenience, bu this bug has existed for a year so maybe a couple more weeks is ok?

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Amr, or anyone else affected,

Accepted gpaste into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gpaste/3.18.6-0ubuntu1 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-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. 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 gpaste (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-xenial
Changed in ubuntu-gnome:
status: New → Fix Released
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

I tested 3.18.6 from xenial-proposed. It's working well.

tags: added: verification-done-xenial
removed: verification-needed-xenial
tags: removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gpaste - 3.18.6-0ubuntu1

---------------
gpaste (3.18.6-0ubuntu1) xenial; urgency=medium

  * New upstream release (LP: #1588104)

 -- Jeremy Bicha <email address hidden> Tue, 27 Jun 2017 18:32:07 -0400

Changed in gpaste (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for gpaste has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.