Bug 271858

Summary: Choqok consumes massive CPU and bogs system down during msg updates
Product: [Applications] choqok Reporter: Praedor Tempus <praedor>
Component: generalAssignee: Mehrdad Momeny <mehrdad.momeny>
Status: ASSIGNED ---    
Severity: normal CC: aaronw, leh, praedor, scarpino
Priority: NOR    
Version: 1.0   
Target Milestone: 1.6   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Praedor Tempus 2011-04-27 18:06:22 UTC
Version:           1.0 (using KDE 4.4.5) 
OS:                Linux

Updating timelines on Choqok regularly consumes 100% of CPU, preventing ability to work with other apps for this period.  In some cases this has led to a complete lockup of entire KDE system, with unresponsive keyboard inputs, forcing a hard reboot or hard shutdown.

Reproducible: Sometimes

Steps to Reproduce:
Update timelines.  

Actual Results:  
Had to turn off automatic timeline updates because renders system practically unusable with repeat CPU consumption and loss of ability to input from keyboard or mouse until update completes (and sometimes never as system locks up entirely and doesn't recover over long period of time).

Expected Results:  
Such a simple app doing a simple thing should not consume 100% of CPU and never cause the entire system to go unresponsive, prevent keyboard/mouse inputs.  

OS: Linux (i686) release 2.6.36.2-desktop-2mnb
Compiler: gcc
Comment 1 Mehrdad Momeny 2011-05-01 07:42:59 UTC
A workaround to fix this temporarily is lowering number of posts to show in mainwindow (in General section of Configurations)
Comment 2 Mehrdad Momeny 2012-05-07 02:10:16 UTC
*** Bug 299529 has been marked as a duplicate of this bug. ***
Comment 3 Mehrdad Momeny 2012-11-04 03:51:13 UTC
*** Bug 308724 has been marked as a duplicate of this bug. ***
Comment 4 Andrea Scarpino 2014-12-17 13:48:43 UTC
Git commit 5096b5e9b7b223172d81b4d01ed04f3035c4a45f by Andrea Scarpino, on behalf of Eugene Shalygin.
Committed on 17/12/2014 at 13:47.
Pushed by scarpino into branch 'master'.

Fix memleaks in images fetching

REVIEW: 121576
Related: bug 341927
FIXED-IN: 1.5

M  +3    -3    helperlibs/twitterapihelper/twitterapiwhoiswidget.cpp
M  +7    -9    libchoqok/mediamanager.cpp
M  +6    -6    libchoqok/mediamanager.h
M  +12   -13   libchoqok/ui/postwidget.cpp
M  +3    -3    plugins/betternotify/notification.cpp

http://commits.kde.org/choqok/5096b5e9b7b223172d81b4d01ed04f3035c4a45f
Comment 5 Justin Zobel 2021-03-09 01:26:44 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.