Bug 130629 - Crash in Writer when inserting shape again after undoing a previous insertion
Summary: Crash in Writer when inserting shape again after undoing a previous insertion
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Undo-Redo Shapes Crash
  Show dependency treegraph
 
Reported: 2020-02-12 21:10 UTC by Aron Budea
Modified: 2020-05-16 16:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace (37.30 KB, text/plain)
2020-02-12 21:10 UTC, Aron Budea
Details
tdf130629_attempt.patch: only works for gdb (474 bytes, patch)
2020-03-23 18:29 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2020-02-12 21:10:46 UTC
Created attachment 157831 [details]
Backtrace

Crash only happens when the shape is inserted with the single click method, by Ctrl-clicking on the toolbar button.

- Start a new document.
- Add a shape by Ctrl-clicking on the basic shape icon on the toolbar.
- Press undo until there are no more undo steps (takes 2 undos for some reason).
- Click on the basic shape icon on the toolbar (this just unselects the button).
- Ctrl-click on the basic shape icon on the toolbar.

=> Crash.
Attaching backtrace.

Observed using LO 7.0.0.0.alpha0+ (d41d7ecb60fb38204fafcb1aa4595992721855e6), 3.3.0 / Ubuntu.
Comment 1 Justin L 2020-03-23 18:29:06 UTC
Created attachment 158902 [details]
tdf130629_attempt.patch: only works for gdb

Outside of GDB, it crashes even when mpImpl has a value.