Bug 42669

Summary: : LO hangs during search/replace
Product: LibreOffice Reporter: Mark SMITH <mhs>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: iamtester8
Priority: medium    
Version: 3.4.3 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: Testcase document

Description Mark SMITH 2011-11-07 07:22:57 UTC
Problem description: 
LO hangs during search/replace of empty space at end of line which contains URL hyperlink

Steps to reproduce:
1. Insert a URL hyperlink into presentation, pad the end of the line (after the URL link) with some blank spaces
2. open search/replace dialog, select the 'regular expression' search option
3. search for ' $' (empty space at end of line)
4. replace with nothing

Current behavior:
LO hangs and CPU goes up, only when the space follows a URL..

Expected behavior:
replace the empty spaces.

Platform (if different from the browser): 
Debian

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Iceweasel/7.0.1
Comment 1 tester8 2012-01-06 16:03:12 UTC
NOT reproduced with

LOdev 3.5.0beta2 
4ca392c-760cc4d-f39cf3d-1b2857e-60db978
Ubuntu 10.04.3 x86
Linux 2.6.32-37-generic Russian UI

Can you try with 3.5?
Comment 2 Mark SMITH 2012-01-06 18:15:40 UTC
Sorry that I forgot to say this is not a problem in Writer, Calc, Draw.

It only happens in Impress.
Comment 3 Mark SMITH 2012-01-06 19:27:18 UTC
Created attachment 55229 [details]
Testcase document

A sample document containing hyperlinks and spaces at the end of the line.
Comment 4 Mark SMITH 2012-01-06 19:29:38 UTC
> 
> Can you try with 3.5?

Yes, the problem still exists in 3.5.0-2 Impress.
Comment 5 tester8 2012-01-07 15:50:02 UTC
Reproduced with reporter's test document.
Comment 6 A (Andy) 2013-03-24 10:57:10 UTC
If I test it with LO 4.0.1.2 (Win7 Home, 64bit), then I am getting the response "Search key not found.", but LO does not crash.

Can anybody else confirm this issue?
Comment 7 Mark SMITH 2013-03-24 23:30:51 UTC
So now it is broken in a different way.. It now fails to match the single " $".  And if I add two (or more) spaces at the end of the line, LO silently fails to replace them.
Comment 8 retired 2014-03-15 20:13:23 UTC
Mark is this still happening with LO 4.2.2?

Since the intitial problem is not happening anymore already, setting to WORKSFORME.

Please file a new bug for any remaining issues.