Bug 193271 - kwrite and kate freezes replacing text on big files
Summary: kwrite and kate freezes replacing text on big files
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 20:34 UTC by Hugo Lobo
Modified: 2017-04-10 03:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test Case (81.64 KB, application/x-bzip-compressed-tar)
2009-05-19 20:47 UTC, Hugo Lobo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Lobo 2009-05-19 20:34:56 UTC
Version:            (using KDE 4.2.3)
OS:                Linux
Installed from:    Unspecified Linux

Replacing text on big files freezes kwrite and kate.

Procedure:

1. Open the file with kwrite or kate
2. Select Edit->Replace
3. Insert the old and new string and click "Replace"
4. Kwrite and kate freezes.

Running from the command line, i get:

(...)
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  64  LINEEND:  128
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  64  MAX:  64                              
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                               
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  128  LINEEND:  192
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  128  MAX:  128                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  192  LINEEND:  256
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  192  MAX:  192                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  256  LINEEND:  320
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  256  MAX:  256                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  320  LINEEND:  384
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  320  MAX:  320                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  384  LINEEND:  448
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  384  MAX:  384                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  448  LINEEND:  512
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  448  MAX:  448                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  512  LINEEND:  576
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  512  MAX:  512                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HIGHLIGHTED END --- NEED HL, LINESTART:  576  LINEEND:  640
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL UNTIL LINE:  576  MAX:  576                             
kwrite(21124)/Kate (Document) KateBuffer::doHighlight: HL DYN COUNT:  0  MAX:  512                                
(...)
Comment 1 Hugo Lobo 2009-05-19 20:47:25 UTC
Created attachment 33838 [details]
Test Case

This tar.bz2 contains a .cvs text file as test case. Replacing all the '"' chars to '' will freeze kwrite and kate.
Comment 2 Hugo Lobo 2009-08-26 23:26:14 UTC
This bug was fixed with KDE 4.3