Created attachment 134461 [details] Example file This bug was filed from the crash reporting server and is br-a5012f31-7fd9-4a04-9c88-5a51502ef11a. ========================================= Based on/similar to bug 108881 Steps to reproduce 1. Open the attached file 2. Cut the Ole Chart object 3. Close the Calc document (gray cross). No saving. 4. Open a new Writer document from start center 5. Paste the Ole object -> No effect 6. Click insert chart in the toolbar -> Crash with LibO 5.4.0.1 When using LibO5.3.3.1 7. Close LibreOffice (red cross) 8. Kill the background process soffice.bin in the task manager 9. Run LibreOffice again -> Crash report
Reproduced in Versión: 5.3.3.2 Id. de compilación: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448 Subproc. CPU: 1; SO: Windows 6.1; Repr. de IU: predet.; Motor de trazado: HarfBuzz; Configuración regional: es-ES (es_ES); Calc: group and in Version: 6.0.0.0.alpha0+ Build ID: 7931ef2abbcef22de5cdddd26738e4dd8d1d8ca5 CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group I found a systematic way to reproduce the crash: 1. Open the attached document 2. Cut the chart 3. Close the document without saving 4. Open the same document 5. Paste the chart 6. Crash
*** This bug has been marked as a duplicate of bug 108881 ***
@Xisco The steps you're describing are exact the same as bug 108881. This crash is surely related to bug 108881. The only reason I reported both separately because the the different crash reports I get: With these steps I get: 1. Open the attached document 2. Cut the chart 3. Close the document without saving 4. Open the same document 5. Paste the chart 6. Crash (SfxItemPool::GetDefaultItem(unsigned short) -> http://crashreport.libreoffice.org/stats/crash_details/875de168-4b46-4cde-b11c-237b653e1752 with this report I get (SfxItemPool::IsInRange(unsigned short) crashreport.libreoffice.org/stats/crash_details/8d7e1c21-53e5-4bda-8fb2-f4f34dcd2acd The main difference is that Writer keeps working correctly. It doesn't crash after the paste. Which Calc does. Full steps to reproduce: 1. Open Writer 2. Add a chart 3. Copy the chart 4. Close Writer 5. Open Calc 6. Paste the Chart 7. Copy the chart again 8. Close Calc 9. Open a new Writer document and paste (working) 10. Close LibreOffice (soffice won't quite) -> and will lock the entire Windows clipboard The problem is generated by bug 108881 (in this case). But perhaps a fail-safe should be build in to avoid the crash? I expect that there are other cases in which this could happen. Pasting an broken ole object from a third party application for example, but that's only my logic.
Following my steps ( the same as in bug 108881 ), I get this crashreport: http://crashreport.libreoffice.org/stats/crash_details/5dcbfe7e-b281-4814-a462-35dae5b9dc85, That's why, I closed this as duplicated.