Bug 345775 - Kate freeze
Summary: Kate freeze
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 16.04.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 384128 387910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-01 21:07 UTC by metsys
Modified: 2019-07-13 20:49 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.60.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description metsys 2015-04-01 21:07:16 UTC
Kate Version 5.0.0 (3af331a)
Using KDE Frameworks 5.7.0

Reproducible: Always

Steps to Reproduce:
1. download http://code.jquery.com/jquery-2.1.3.min.js (minified file)
2. Launch Kate, then go Settings->Configure Kate->Open/Save->Line Lenght Limit and set Unlimited. (if do not do this, file are not editable)
3. Then: File->Open and choose jquery-2.1.3.min.js. 
4. Then press CTRL+A  and see rapid / huge  CPU usage. This shown on sreenshot maden with top. On the first screenshot we can see ctrl+a of jquery-2.1.3.min.js and huge usage of cpu, on the second one - Kate after closed file jquery-2.1.3.min.js.

5. Bug reproduces always.
screens
http://res.cloudinary.com/metsys/image/upload/v1427922330/kde5/snapshot48.png

http://res.cloudinary.com/metsys/image/upload/v1427922329/kde5/snapshot50.png

Actual Results:  
screens
http://res.cloudinary.com/metsys/image/upload/v1427922330/kde5/snapshot48.png

http://res.cloudinary.com/metsys/image/upload/v1427922329/kde5/snapshot50.png

Expected Results:  
do not load CPU to top

https://forum.kde.org/viewtopic.php?f=225&t=125252

cpu info http://pastebin.com/NZYTSmSC

screens
http://res.cloudinary.com/metsys/image/upload/v1427922330/kde5/snapshot48.png

http://res.cloudinary.com/metsys/image/upload/v1427922329/kde5/snapshot50.png
Comment 1 Buovjaga 2016-06-25 13:19:13 UTC
Repro.

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.23.0
Qt 5.7
xcb wm
Comment 2 Christoph Cullmann 2018-08-16 21:13:30 UTC
*** Bug 384128 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Cullmann 2019-06-10 19:48:43 UTC
We try to improve this in

https://phabricator.kde.org/D17241
Comment 4 Christoph Cullmann 2019-06-10 19:51:53 UTC
*** Bug 387910 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Cullmann 2019-07-13 20:49:46 UTC
This got fixed with

https://phabricator.kde.org/D17241