Issue 126010 - Crashing when copying object in multi-page file
Summary: Crashing when copying object in multi-page file
Status: UNCONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: 4.1.1
Hardware: PC Windows 7
: P3 Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-07 09:16 UTC by David Vlaminck
Modified: 2015-04-30 18:08 UTC (History)
3 users (show)

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


Attachments
Crashing odg when opening with 4.1.1 (626.67 KB, application/vnd.oasis.opendocument.graphics)
2015-01-07 09:16 UTC, David Vlaminck
no flags Details
No crash occurs (169.55 KB, image/png)
2015-01-07 11:27 UTC, oooforum (fr)
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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