Bug 100681

Summary: Crash on pasting from already closed document
Product: LibreOffice Reporter: Miklos Vajna <vmiklos>
Component: WriterAssignee: Miklos Vajna <vmiklos>
Status: RESOLVED FIXED    
Severity: normal CC: h3734236, timur
Priority: medium Keywords: regression
Version: 5.2.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=104094
Whiteboard: target:5.3.0 target:5.2.0
Crash report or crash signature: ["SwTransferable::PrivatePaste(SwWrtShell &)", "`anonymous namespace'::lcl_checkClassification(SwDoc *,SwDoc *)"] Regression By:

Description Miklos Vajna 2016-06-29 15:12:26 UTC
Thanks to Michael Stahl for figuring out the list of steps to reproduce
this bug:
    
1) Create a new Writer document
2) Type some text
3) Select all
4) Copy it
5) Close the document
6) Create a second Writer document
7) Paste -> crash
Comment 1 Miklos Vajna 2016-06-29 15:13:55 UTC
Fixed by commit 1bc3c88bc9ed085bf7e173cb12f313934d92f309, backported to libreoffice-5-2 as 91f2f71e7b936c3c9fb984aaa01d432926abb38f.
Comment 2 Timur 2016-06-30 09:09:50 UTC
Seems like a regression from 5.2 so I add those fields.