Bug 78784 - EDITING: Choosing Format->Layer when editing Drawing object causes crash
Summary: EDITING: Choosing Format->Layer when editing Drawing object causes crash
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: highest major
Assignee: Not Assigned
Whiteboard: (target:4.3.0)
Keywords: haveBacktrace
Depends on:
Blocks: mab4.2
  Show dependency treegraph
Reported: 2014-05-16 13:35 UTC by psommerfeld
Modified: 2014-10-20 10:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

One simple draw object. Edit object, select Format->Layer (15.46 KB, application/vnd.oasis.opendocument.text)
2014-05-16 13:35 UTC, psommerfeld
bt with symbols on 4.2 (6.36 KB, text/plain)
2014-05-18 15:17 UTC, Julien Nabet

Note You need to log in before you can comment on or make changes to this bug.
Description psommerfeld 2014-05-16 13:35:39 UTC
Created attachment 99157 [details]
One simple draw object. Edit object, select Format->Layer

Selecting Format->Layer while editing the simple Draw object in the attached doc causes Writer to crash.
Comment 1 Joel Madero 2014-05-16 15:41:25 UTC
Crazy as this sounds - I just confirmed this from the earliest release of LibreOffice (meaning we inherited the bug from AOO).

I have been able to confirm the issue on:
Platform: Ubuntu x64
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
As I've been able to confirm this problem on an earlier release I am changing the version number as version is the earliest version that we can confirm the bug, we use comments to say that the bug exists in newer versions as well.

Marking as:

New (confirmed)
Major - total crash, major is appropriate
Highest - tossing this on to the MAB list, I know it's been around for years but simple steps resulting in a total crash seems like it belongs there.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 2 psommerfeld 2014-05-16 15:56:12 UTC
Should add I found a work-around. The Draw object in file I attached is copied from older Writer document. Creating a new Draw object within Writer will not cause crash when calling Format->Layer.

Work-around is:
1. Edit problematic Draw object
2. Ctrl-A, Ctrl-C (copy all draw items)
3. Close Draw object
4. Insert->Object->OLE Object->Create New->Libre 4.2 Drawing
5. Ctrl-V (paste draw items)
6. Esc (close Draw object)

1. Double-click new Draw object to edit
2. Select Format->Layer, which will now work

Conclusion: Something inside the Draw object itself, or how or with which product it was created, is causing the crash. The Draw items can be reused in new Draw object without crashing.
Comment 3 Joel Madero 2014-05-16 16:22:05 UTC
I thought that might be the case - else I would have expected more reports. None the less - whatever is triggering it might come up again so best to have it resolved. Going to go ahead and leave it on the MAB list. Thanks for the update
Comment 4 psommerfeld 2014-05-16 16:38:41 UTC
Agreed. It shouldn't happen under any condition. Older documents would always be problematic.
Comment 5 Julien Nabet 2014-05-18 15:17:49 UTC
Created attachment 99278 [details]
bt with symbols on 4.2

On pc Debian x86-64 with master sources updated today, I don't reproduce this.
However, with 4.2 updated some days ago, I can reproduce this.
Comment 6 mail 2014-06-24 05:46:48 UTC
I guess the reason there were so few error reports is that this bug is shadowed by bug 54155 (Clicking on Drawing after editing a Group inside a Group causes Crash), making editing of drawings inside Impress practically useless. As this bug exists for years, experienced users won't even try to edit a drawing in Impress.
Comment 7 Julien Nabet 2014-06-25 20:49:11 UTC
On pc Debian x86-64 with 4.2.4 LO Debian package, I can reproduce this.
However, I don't reproduce this with 4.2 sources updated yesterday.

Any better with 4.2.5?
Comment 8 Timur 2014-10-20 10:56:37 UTC
Tested with LO 4.2.6 and 4.3.2. Cannot reproduce anymore. So I set as resolved.