the application uses too much CPU, and at the end of the first game, usage goes to 100%

Bug #1991976 reported by Teemu Leisti
22
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gnome-mahjongg (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Environment: The OS is Xubuntu 22.04.1. The kernel is Linux 5.15.0-48-generic. The architecture is 64-bit. The machine is Lenovo ThinkPad X1 Carbon 7th generation.

I'm using the snap version of the application. Command "gnome-mahjongg -v" yields "gnome-mahjongg 3.38.0". The launch command is "env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/gnome-mahjongg_gnome-mahjongg.desktop /snap/bin/gnome-mahjongg".

After startup, the application uses a lot of CPU; I've seen command top report over 30% usage. When the first game is finished, the usage goes to 100%. This makes application unresponsive, and I have to kill it via the command line or using command xkill. See the screenshot.

The application has started to behave only recently, probably after the update to this version.

Revision history for this message
Teemu Leisti (teemu-leisti) wrote :
description: updated
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-mahjongg (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
Changed in gnome-mahjongg (Ubuntu):
status: Confirmed → Fix Committed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-mahjongg - 1:3.40.1-1

---------------
gnome-mahjongg (1:3.40.1-1) unstable; urgency=medium

  * New upstream release (LP: #2062038)
  * Drop all patches: applied in new release

 -- Jeremy Bícha <email address hidden> Wed, 17 Apr 2024 13:26:47 -0400

Changed in gnome-mahjongg (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Teemu Leisti (teemu-leisti) wrote :

Thanks!

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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