Apache OpenOffice (AOO) Bugzilla – Issue 54474
crash after undo of "split curve"
Last modified: 2013-08-07 14:38:26 UTC
create a new writer document; draw a line. enable edit points; add a point in the middle of the line. select the point, click on "split curve" do 'undo' twice, select middle point again. click on convert to curve - crash. (crashes also 1.1.4). crashes also on most other point editing actions with object. does not crash draw (might be related to issue 54473, as there is only single step undo in draw)
Created attachment 29477 [details] error report
ES->AMA: This does not happen in Draw. Please dispatch.
I tried recreating it with adding one point, using WinXP machine with oo build 2.0.3 but was unsuccessfull. However, it is recreatable if I add two points. Here are the steps: 1) Create a new writer document; 2) Draw a line. 3) enable edit points 4) add TWO points in the middle of the line. 5) Select one of the middle points and click on "split curve" 6) Click 'undo' twice, 7) Select the same middle point again, click on convert to curve . Program crashes.
Note that only when we go from [undoing the changes to 'split curve'] to [convert to curve], is the crash experience. Trying other options and then trying to undo and convert to curve is successfull. i.e. The program is unable to recover the curve only upon split functionality
Confirmed the same issue on build 2.1 using Windows XP machine.
Reproduced following haleem's recipe using OOO300m9 Aqua Intel on OS X 10.5.6. Changing Platform/OS to All/All (from PC/Linux), adding crash keyword.
I have reproduced the crash described in haleem's steps using a Dell Studio 1749, intel i5, running Windows 7 in build 3.4.1.
It crashes also, if you do not convert to curve, but simple move the point. The undo of the split look seldom. The first undo does not restore the complete curve, but only removes the newly entered polygon. The second undo restores the complete curve. But that action give the error Error: UndoInsertObj: pObj ist nicht Inserted From File c:/AOO_2012_08_git/trunk/main/svx/source/svdraw/svdundo.cxx at Line 838