[Libreoffice-bugs] [Bug 117228] New: EDITING: crash in SfxItemSet::GetItemState( unsigned short, bool, SfxPoolItem const**) when pasting comment of closed document
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 25 11:18:32 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=117228
Bug ID: 117228
Summary: EDITING: crash in SfxItemSet::GetItemState(unsigned
short, bool, SfxPoolItem const**) when pasting comment
of closed document
Product: LibreOffice
Version: 6.1.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: erack at redhat.com
1. open two new Calc documents
2. add some comment to any cell in one document
3. copy that cell to clipboard
4. close the document without saving
5. paste on any cell in the second document => crash
This is almost identical to bug 104967 that was fixed by forgetting some
caption details owned by the closed document, the crash is just some calls
below ScPostIt::CreateCaption() now.
However, in master/6.1 in ScDocument::~ScDocument() asking
ScDocument::IsClipboardSource() returns false because in ScModule::GetClipDoc()
SfxViewShell::Current() returns nullptr, which it didn't before. Some logic
when view shells are destroyed seem to have changed meanwhile. The effect is
that ClosingClipboardSource() is not called anymore and the caption and item
set items are not forgotten and still point to drawing details of the already
closed document.
Hence, asking for bibisect to find the culprit.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180425/84f3287b/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list