Issue 101149

Summary: ^. freezes writer (Find & replace)
Product: Writer Reporter: amy2008 <amy2008>
Component: codeAssignee: stefan.baltzer
Status: CLOSED IRREPRODUCIBLE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues, ooo.redflag, thomas.lange
Version: OOO300m9   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 84292    

Description amy2008 2009-04-17 04:04:38 UTC
Can reproduce it in OOo310m9 on WinXP and Fedora9

How to reproduce it
1 Create a new Writer file
2 Insert some paragraphs, word number is more than 60000
3 CTRL + F, input '^.' without single quotation marks in the "Search for" text,
  input nothing in the "Replace with" text, click "More options", check 
  "Regular Expressions", then click "Replace All" button

Result
An dialog to turn off the "undo" function is opened, click "Yes" or "Cancle" 
can make OOo freezing, if click "No", dialog shows "Search key replaced 60000 
times"

Expectation
OOo works well
Comment 1 amy2008 2009-04-17 06:28:30 UTC
At step2, word number should be character number
Comment 2 michael.ruess 2009-04-17 10:54:15 UTC
MRU->SBA: please have a look at this "Find & replace" issue. Thanks!

MRU->AMY2008: please file your issues for the default owner. This is
automatically "writerneedsconfirm". Thanks!
Comment 3 merschmann 2009-04-17 12:25:02 UTC
No crash with OOo 3.1RC1 (m9) on Windows XP here.

Comment 4 amy2008 2009-04-20 02:19:11 UTC
Meiying -> MRU, sorry, I will remember it.
Comment 5 amy2008 2009-04-20 03:54:55 UTC
Meiying -> volkerme,
Have you followed the reproduce steps, especally the step2, there is a need of
60000 character numbers.
Would you like checking it once more?
Regards
Li Meiying
Comment 6 stefan.baltzer 2009-04-20 16:40:59 UTC
I produced a Writer document by copy and paste text, no complex doc structure
(No Heading/tables/numberings or objects). 
Tools - Word count: 65110 words and 392502 characters.
I did as described, clicked "Yes" in "Switch off Undo" dialog.
Waited a while...
...and got 392502 replacements (Replace all characters with nothing).
-> This variant works as expected woth OOO310_m9 on WinXP.

Amy2008, can you attach a bugdoc, please?
Comment 7 amy2008 2009-04-22 09:35:38 UTC
sba,
Now, I can't reproduce it neither.
The steps you have done are quite right.
Set workforme

Regards
Li Meiying
Comment 8 stefan.baltzer 2009-04-30 18:29:44 UTC
Thx for re-checking. Closing issue.