Issue 84921 - 100% CPU loop with certain regex with backreference replacement
Summary: 100% CPU loop with certain regex with backreference replacement
Status: CLOSED DUPLICATE of issue 85684
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 680m239
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2007-12-31 02:03 UTC by aziem
Modified: 2008-02-14 16:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
text doc (7.14 KB, application/vnd.sun.xml.writer)
2007-12-31 02:05 UTC, aziem
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.