Bug 13892 - qarte uses 100% CPU after a search is done
Summary: qarte uses 100% CPU after a search is done
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure MGA4-32-OK MGA4-64-OK a...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-08-10 16:04 CEST by José Jorge
Modified: 2014-08-18 11:15 CEST (History)
6 users (show)

See Also:
Source RPM: qarte
CVE:
Status comment:


Attachments
suggestion (408.55 KB, image/png)
2014-08-12 18:17 CEST, Arnaud Vacquier
Details

Description José Jorge 2014-08-10 16:04:44 CEST
qarte process uses 100% cpu even after the search is done

It is fixed with a new version according to upstream :

https://bugs.launchpad.net/qarte/+bug/1307998
Comment 1 José Jorge 2014-08-10 16:09:07 CEST
I have uploaded a updated package for Mageia 4.

You can test this by searching a video name, then watching the CPU usage.
AFAIK, this tool only works with french,belgian or german IP@.

Suggested advisory:
========================

Updated qarte package fix cpu usage on searches.

References:
https://bugs.launchpad.net/qarte/+bug/1307998
========================

Updated packages in core/updates_testing:
========================
qarte-2.0.2-1.mga4

Source RPMs: 
qarte-2.0.2-1.mga4

Status: NEW => ASSIGNED

José Jorge 2014-08-10 16:09:33 CEST

CC: (none) => lists.jjorge
Assignee: bugsquad => qa-bugs

Comment 2 Rémi Verschelde 2014-08-11 20:10:53 CEST
Easy to test if you're in France, Belgium or Germany, see comment 1.

CC: (none) => remi
Whiteboard: (none) => has_procedure

Comment 3 Arnaud Vacquier 2014-08-12 18:17:10 CEST
Created attachment 5344 [details]
suggestion

Ok i can reproduce issue and update fix it on MGA 4 x86_64

Testing : search + download + read video


But, i have a suggestion in first launch if you not select folders for download you have an error.
By default they are set on "NONE", probably can you fix that with /home/$user/videos ?

thank you

CC: (none) => aranud

Samuel Verschelde 2014-08-13 15:52:34 CEST

CC: (none) => stormi
Source RPM: (none) => qarte

Comment 4 William Kenney 2014-08-13 20:23:49 CEST
In VirtualBox, M4, KDE, 32-bit

Package(s) under test:
qarte

default install of qarte

[root@localhost wilcal]# urpmi qarte
Package qarte-1.9.0-1.mga4.noarch is already installed

Searches and displays videos. Downloads videos. VLC plays downloaded videos.
Using Htop computer CPU processing time is minimal after search and download.

install qarte from updates_testing

[root@localhost wilcal]# urpmi qarte
Package qarte-2.0.2-1.mga4.noarch is already installed

Searches and displays videos. Downloads videos. VLC plays downloaded videos.
Using Htop computer CPU processing time is minimal after search and download.

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
virtualbox-4.3.10-1.1.mga4.x86_64
virtualbox-guest-additions-4.3.10-1.1.mga4.x86_64

CC: (none) => wilcal.int

Comment 5 William Kenney 2014-08-13 20:24:02 CEST
In VirtualBox, M4, KDE, 64-bit

Package(s) under test:
qarte

default install of qarte

[root@localhost wilcal]# urpmi qarte
Package qarte-1.9.0-1.mga4.noarch is already installed

Searches and displays videos. Downloads videos. VLC plays downloaded videos.
Using Htop computer CPU processing time is minimal after search and download.

install qarte from updates_testing

[root@localhost wilcal]# urpmi qarte
Package qarte-2.0.2-1.mga4.noarch is already installed

Searches and displays videos. Downloads videos. VLC plays downloaded videos.
Using Htop computer CPU processing time is minimal after search and download.

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
virtualbox-4.3.10-1.1.mga4.x86_64
virtualbox-guest-additions-4.3.10-1.1.mga4.x86_64
Comment 6 William Kenney 2014-08-13 20:24:15 CEST
I'm not seeing any CPU processing problems here from 1.9 -> 2.0.
Maybe I'm using to fast a computer? Anyway qarte is a good way
to brush up on my French and I'm not seeing any problems.
Should I be testing it differently?
Comment 7 Rémi Verschelde 2014-08-14 17:39:18 CEST
(In reply to Arnaud Vacquier from comment #3)
> 
> But, i have a suggestion in first launch if you not select folders for
> download you have an error.
> By default they are set on "NONE", probably can you fix that with
> /home/$user/videos ?
> 
> thank you

I can reproduce this issue (which is minor but would be nice to fix), but there is more here on Mageia 4 32bit with Xfce: clicking the "Browse" buttons next to the "None" video folder fields opens a blank "Choose a destination folder" window.

It works on Cauldron with KDE4, I'll try another DE on Mageia 4.
Comment 8 Rémi Verschelde 2014-08-14 17:53:23 CEST
(In reply to Rémi Verschelde from comment #7)
> 
> I can reproduce this issue (which is minor but would be nice to fix), but
> there is more here on Mageia 4 32bit with Xfce: clicking the "Browse"
> buttons next to the "None" video folder fields opens a blank "Choose a
> destination folder" window.
> 
> It works on Cauldron with KDE4, I'll try another DE on Mageia 4.

The browsing utility works fine on KDE4 and Cinnamon, and after logging in and out of Xfce4, it works too, so this was a temporary issue.

Otherwise I could reproduce the issue from comment 0 and the update candidate fixes.

Let's proceed with this update, it looks good enough.

@Arnaud: Maybe you should report the issue that you described on the Qarte bug tracker[1] ?

[1] https://bugs.launchpad.net/qarte

Whiteboard: has_procedure => has_procedure MGA4-32-OK MGA4-64-OK

Comment 9 Rémi Verschelde 2014-08-14 17:54:45 CEST
(In reply to William Kenney from comment #6)
> I'm not seeing any CPU processing problems here from 1.9 -> 2.0.
> Maybe I'm using to fast a computer? Anyway qarte is a good way
> to brush up on my French and I'm not seeing any problems.
> Should I be testing it differently?

Did you use the search feature, i.e. the search box at the bottom of the GUI? Here it takes a whole CPU core after it's been used. It's no big deal if you can't reproduce, we were already two to reproduce it and see that the update fixes it.
Comment 10 Rémi Verschelde 2014-08-14 18:00:08 CEST
Validating update, advisory uploaded.

Please push qarte to Mageia 4 core/updates.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update
Whiteboard: has_procedure MGA4-32-OK MGA4-64-OK => has_procedure MGA4-32-OK MGA4-64-OK adviory

Comment 11 William Kenney 2014-08-14 19:09:25 CEST
Thanks Rémi
Rémi Verschelde 2014-08-17 23:43:40 CEST

Whiteboard: has_procedure MGA4-32-OK MGA4-64-OK adviory => has_procedure MGA4-32-OK MGA4-64-OK advisory

Comment 12 Mageia Robot 2014-08-18 11:15:41 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2014-0160.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.