Issue 54474 - crash after undo of "split curve"
Summary: crash after undo of "split curve"
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 680m128
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: crash, oooqa
Depends on:
Reported: 2005-09-12 06:32 UTC by richlv
Modified: 2013-08-07 14:38 UTC (History)
3 users (show)

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

error report (9.50 KB, text/plain)
2005-09-12 06:33 UTC, richlv
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description richlv 2005-09-12 06:32:09 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)
Comment 1 richlv 2005-09-12 06:33:03 UTC
Created attachment 29477 [details]
error report
Comment 2 eric.savary 2005-09-13 10:59:30 UTC
ES->AMA: This does not happen in Draw. Please dispatch.
Comment 3 haleem 2007-02-02 16:56:20 UTC
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.

Comment 4 haleem 2007-02-02 17:02:59 UTC
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
Comment 5 haleem 2007-02-02 18:28:30 UTC
Confirmed the same issue on build 2.1 using Windows XP machine.
Comment 6 dridgway 2009-01-08 04:52:56 UTC
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.
Comment 7 James Huffman 2012-09-28 22:24:48 UTC
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.
Comment 8 Regina Henschel 2012-09-29 00:23:51 UTC
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