Issue 126010

Summary: Crashing when copying object in multi-page file
Product: Draw Reporter: David Vlaminck <david.vlaminck>
Component: editingAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Major    
Priority: P3 CC: david.vlaminck, oooforum, rarmint1
Version: 4.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Crashing odg when opening with 4.1.1
none
No crash occurs none

Description David Vlaminck 2015-01-07 09:16:00 UTC
Created attachment 84381 [details]
Crashing odg when opening with 4.1.1

Hi,

I work a company making schematics using OpenOffice Draw.

In our .odg files we combine images of traffic signs and draw lines, polygons, curves etc to create a schematic of the road and signs.

I'm using 4.1.0. My two colleagues are using 4.1.1. In attachment is a file that when my colleagues open it, crashes pretty much right away. First this bug occurs when copying objects into a document. When it's been recovered a lot, the file just crashes a few seconds after being opened. We have noticed this problem a few times already so this is a recurring problem.
We have also noticed that this usually occurs when the document contains over 5-6-7 pages.

Our fix for the moment is having them start over in a new document and me combining the old and new documents to not lose all the work already done in the crashing file.

I have no idea what the problem may be. Maybe there's corruption due to a lot of copying. We would very much like to see a solution for this, so any help is appreciated ;-)

Kind regards,

David
Comment 1 oooforum (fr) 2015-01-07 11:27:57 UTC
Created attachment 84383 [details]
No crash occurs

I don't reproduce with AOO 4.1.1 and Win7 Pro x64
Your ODG opens with no crash (see screenshot as proof)
Comment 2 David Vlaminck 2015-01-07 12:08:12 UTC
Comment on attachment 84383 [details]
No crash occurs

Yes, have trying copying a page and pasting it ?
Comment 3 Bob 2015-04-30 18:08:18 UTC
After some experimentation I was able to create a reproducible crash.  The test system is a 64-bit Windows 7, SP1 laptop with 4.00 GB of memory and an Intel Core i5-2520M CPU operating at 2.50 GHz. Finally I am testing from AOO 4.1.1  

The steps for reproducing the crash as tested are as follows:

1. Open AOO Draw
2. Copy test file (attachment 84381 [details]) to your device
3. From AOO Draw:
	a.  Open test file – File contains multi-page highway schematics (7)

4. Open AOO Writer to a new text document

5. In the left column of AOO Draw, select “Pages 1” by left clicking once
6. In the left column of AOO Draw, Select “Pages 2” by shift + Left Click
 	a. You should now have two schematics selected
7. Right click on one of the selected pages and select copy

8. Now in AOO Writer, right click and select Paste
	a. At this point AOO crashes and an OpenOffice Document Recovery window is displayed with the following error:

“Due to an unexpected error, OpenOffice crashed.  All the files you were working on will now be saved.  The next time OpenOffice is launched, your files will be recovered automatically”  

The untiled 1 Writer document and the Draw files are listed.
9. When OK is clicked, a new AOO document recovery window is opened and you are able to recover both documents back to the original pre-crash state

Further testing:  Following the same set of instructions, I was able to successfully copy and paste a single page from Draw to Writer