Issue 84921

Summary: 100% CPU loop with certain regex with backreference replacement
Product: Writer Reporter: aziem <ahz001>
Component: uiAssignee: stefan.baltzer
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues, kpalagin
Version: 680m239Keywords: crash
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
text doc none

Description aziem 2007-12-31 02:03:58 UTC
OpenOffice.org pre-2.4.0 680m239 Linux

Search for any one of:
\<(.)+\> \1
\<(.)+\>([:space:])+\1

Replace with:
$

Result:
100% CPU Loop 

Text this whole comment including:
The fox ran around the the box around a a lazy dog.
Comment 1 aziem 2007-12-31 02:05:48 UTC
Created attachment 50606 [details]
text doc
Comment 2 eric.savary 2007-12-31 16:34:19 UTC
Reassigned to SBA
Comment 3 kpalagin 2008-01-03 12:58:33 UTC
Confirming with m239 on WinXP - as described (do not forget to set "Regular 
expression" checkbox in Find&Replace dialog).
P2 because of crash, keyword.
Comment 4 stefan.baltzer 2008-02-14 16:10:20 UTC
This is OK in OOH_m7.
Please note that a loop (some call it freeze) is not a crash. However, both are
"P2".

*** This issue has been marked as a duplicate of 85684 ***
Comment 5 stefan.baltzer 2008-02-14 16:29:30 UTC
OK in SRC680_m247 too. Closed.