Bug 90207 - Search and Replace with locked layers, malfunction then crash
Summary: Search and Replace with locked layers, malfunction then crash
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-24 19:43 UTC by octavsly
Modified: 2015-03-29 20:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
libreoffice draw file which crashes search and replace (7.89 KB, application/vnd.oasis.opendocument.graphics)
2015-03-24 19:43 UTC, octavsly
Details
strace log file... (72.14 KB, text/x-log)
2015-03-24 19:44 UTC, octavsly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description octavsly 2015-03-24 19:43:27 UTC
Created attachment 114310 [details]
libreoffice draw file which crashes search and replace

4 pages
1 layers added not visible and locked.

Search and replace crashes libreoffice.




To reproduce the problem 
0. libreoffice
1. open the test.odg
2. CTRL + H (Search and replace)
3. Search for: test
4. Replace with: bla
5. Replace All

At this point libreoffice crashes. 


In other scenarios it does not crashes directly but only replaces one string and stops at the lock layer test. Pressing Replace All will replace the next occurrence then stops again. Several time this can be repeated until libreoffice crashes.

Tried also with version 4.3.5.2. Same story. also on a 64 bits machine.
Comment 1 octavsly 2015-03-24 19:44:08 UTC
Created attachment 114311 [details]
strace log file...
Comment 2 raal 2015-03-24 21:53:53 UTC
No crash with Version: 4.4.3.0.0+
Build ID: 5151160704492a2c438daa70acef1c8a87d6de55
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-4, Time: 2015-03-22_01:39:25
Comment 3 Buovjaga 2015-03-25 19:56:02 UTC
No crash.

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI

Ubuntu 14.10 64-bit 
Version: 4.4.1.2
Build ID: 40m0(Build:2)
Locale: en_US
Comment 4 octavsly 2015-03-29 20:07:50 UTC
I am closing this one since I cannot reproduce it myself.

What is strange is that the same file crashed on two different machine. The file was generated initially with version 4.3.5.2

When moving to 4.4.1.2 the crash existed but after a reboot and few days in-between I cannot reproduce it myself. I will close it for now. If I see it again I will re-open it and attach a bigger testcase.

Thank you for testing it,
Octavian