Issue 118475 - SegFault when replacing with regular expression in a selection
Summary: SegFault when replacing with regular expression in a selection
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 3.3
Hardware: PC Linux, all
: P5 (lowest) Blocker (vote)
Target Milestone: ---
Assignee: writerneedsconfirm
QA Contact:
URL:
Keywords: crash, usability
Depends on:
Blocks:
 
Reported: 2011-10-01 11:00 UTC by bkleine
Modified: 2012-02-07 20:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bkleine 2011-10-01 11:00:03 UTC

    
Comment 1 bkleine 2011-10-01 11:07:05 UTC
Hi,

I have some protein sequence date where I want to add ";" to be able to make tables. using reg expressions in search/replace and choosing "." in search and "$0;" in replace works as long as I donot select the data before doing search and replace.

When I have the data selected, doing the same search/replace action first of all the entire first line is replace and not the first letter, and after that the programm has crashed.

Steps to repeat:

Use:

mrkrapqsemapagvslratilcllawaglaagDRVYIHPFHLvihnest
ceqlakanagkpkdptfipapiqaktspvdekalqdqlvlvaakldtedk
lraamvgmlanflgfriygmhselwgvvhgatvlsptavfgtlaslylga
ldhtadrlqailgvpwkdknctsrldahkvlsalqavqgllvaqgradsq

Search (with reg.expr selected) "."
replace $0;

Then select the text and repeat the search replace.

Greeting Bernhard
Comment 2 bkleine 2011-10-01 18:14:13 UTC
bug #56449 and #50510 are in the same drawer
Bernhard
Comment 3 hdu@apache.org 2012-02-01 11:33:42 UTC
Not reproducible with the new ICU based regexp engine available in recent Apache OpenOffice builds available at http://s.apache.org/Jqc.

While looking into this bug #118862 has been found (for single replacement).
Comment 4 hdu@apache.org 2012-02-07 13:51:29 UTC
Not reproducible on Apache OpenOffice. AOO34 development builds are available at http://s.apache.org/Jqc