LyX crashes when undoing an advanced search-replace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LyX |
New
|
Undecided
|
Unassigned | ||
lyx (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Open a new document. Type content as follows:
aaa
bbb
ccc
bbb
Then open the Advanced Search-Replace dialog (under edit), and search for "bbb". In the replace box, write "\abc" inside an ERT (red) box.
Make the substitution. Now try to undo the operation (ctrl-z). LyX repeatably crashes /dies completely at this point.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: lyx 2.2.3-1
ProcVersionSign
Uname: Linux 4.13.0-19-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Dec 10 15:12:34 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-11-18 (22 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
SourcePackage: lyx
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in lyx (Ubuntu): | |
status: | Confirmed → Fix Released |
Christopher, thank you very much for taking the time to report this issue and to give details on how to reproduce. I've tried several times and I cannot reproduce. Can you make a screencast? If not, please answer the following questions: After writing "ccc", do you put the cursor at the top? Or after you search you first click on "Yes" in the "wrap search" dialog? Do you do the search before you click in the replace box and type "\abc"? Do you do anything (e.g. click in the main text area?) after you make the substitution and before you execute the ctrl-z? If you do ctrl-z with the cursor in the advanced find, then it undoes the last edit to the advanced find window. If you do it in the main workarea, it undoes the substitution.
Are you able to reproduce while running LyX from gdb? Can you post a backtrace?