This bug was filed from the crash reporting server and is br-2b8c1af2-20b9-41a0-91f5-4226c1db7c8a. ========================================= Crash in LO 5.3.0 RC1 Version: 5.3.0.1 (x64) Build-ID: 3b800451b1d0c48045de03b5b3c7bbbac87f20d9 CPU-Threads: 4; BS-Version: Windows 6.19; UI-Render: Standard; Layout-Engine: neu; Gebietsschema: de-DE (de_DE); Calc: group What happened? I have edited a sheet document. When all was done I have saved and closed it without any problems. LO 5.3.0 remained open with no opened documents. When I have closed the programm the crash occured. I think that this crash is not important because of no data are lost or destroyed. But because it happens frequently, it is annoying. Unfortunately I have no way to reproduce the crash at this time.
Created attachment 129996 [details] Test sheet document to reproduce the crash With the attached file the crash can be reproduced: - start LO - open the file - go to sheet "Altix IV und V" - insert a new row before row 6 - copy row 7 to clipboard and paste it into row 6 - save or save as the document - close the document - close LO --> LO crashes other behavior, when the same is done in sheet "Altix I bis III" (insert row, copy + paste row, save or save as + close the document, close LO): LO doesn't crash, but after LO is closed, 2 processes remain opened (visible in the Task Manager). When one then tries to start LO (one time or repeatedl)y, it seems that LO doesn't start, but in the Task Manager appear 4 or more Libre Office processes, belonging pairwise one to anoter. Only when the "old" processes are cancelled in the Task Manager, LO really opens. It says, that it was terminated not normally last time and produces a crash report, see crashreport.libreoffice.org/stats/crash_details/0dc37319-2e36-4ba2-8b8d-f6231a1aaabc
Simple way to reproduce the crash: - open LO - File -> New -> Spreadsheet - enter something in cell A1 - copy cell A1 into clipboard - paste clipboard content into any other cell (e.g. A2 or B1) - save the document and close LO --> crash The crash can be reproduced with LO 5.3.0 RC1 and also with LO 5.4.0 alpha0+, but not with LO 5.2.4.2. Version: 5.4.0.0.alpha0+ Build ID: d0288a482a3dc0f50f535565e4c66a95bb140942 CPU Threads: 1; OS Version: Windows 6.19; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-12-26_23:25:18 Locale: de-DE (de_DE); Calc: group
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=db1726216ba200c8a55c23a9d8c2ffd2066263a7 process all outstanding events before shutdown, tdf#104969, tdf#104286, tdf#104399 It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I have tested with Version: 5.4.0.0.alpha0+ Build ID: a7c51323b7343f82b5aea6098f5d5e31a8bad0e9 CPU Threads: 1; OS Version: Windows 6.19; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-12-29_23:35:20 Locale: de-DE (de_DE); Calc: group The test was only partially successful: Result 1: The crashes produced with the "simple way" described in Comment_2 and with sheet "Altix IV und V" in the test file "Testtabelle_Abbruch_Close_LO_V4.ods" (Comment_1, upper section) occur no longer. Very good! Result 2: The "other behavior" described in the lower section of Comment_1 still remains. Shutdown of LibreOffice is not completed: 2 processes remain "active" and hinder a new start of the programm. Not so good! Shall I report a new bug for the second case ("other behavior")? Regardless, I will try to find a simpler way to reproduce this case.
Simple way to reproduce the case "other behavior" (Shutdown LO hangs): - open LO - File -> New -> Spreadsheet - enter something in cell A1 - insert a comment to cell A1 (this is the difference to the first case) - copy cell A1 into clipboard - paste clipboard content into any other cell (e.g. A2 or B1) - save the document and close LO --> Shutdwon of LO hangs: LO Windows is closed, but in the task manager remain 2 processes and hinder a new start of LO reproduced with LO 5.3.0 RC1 and with LO 5.4.0 Version: 5.4.0.0.alpha0+ Build ID: a7c51323b7343f82b5aea6098f5d5e31a8bad0e9 CPU Threads: 1; OS Version: Windows 6.19; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-12-29_23:35:20 Locale: de-DE (de_DE); Calc: group
(In reply to Stefan_Lange_KA@T-Online.de from comment #4) > I have tested with > Version: 5.4.0.0.alpha0+ > Build ID: a7c51323b7343f82b5aea6098f5d5e31a8bad0e9 > CPU Threads: 1; OS Version: Windows 6.19; UI Render: default; > TinderBox: Win-x86@42, Branch:master, Time: 2016-12-29_23:35:20 > Locale: de-DE (de_DE); Calc: group > > The test was only partially successful: > > Result 1: > The crashes produced with the "simple way" described in Comment_2 and with > sheet "Altix IV und V" in the test file > "Testtabelle_Abbruch_Close_LO_V4.ods" (Comment_1, upper section) occur no > longer. Very good! > > Result 2: > The "other behavior" described in the lower section of Comment_1 still > remains. Shutdown of LibreOffice is not completed: 2 processes remain > "active" and hinder a new start of the programm. Not so good! > > Shall I report a new bug for the second case ("other behavior")? Regardless, > I will try to find a simpler way to reproduce this case. Yes, please make it a new bug report. This one is about the ScTransferObj crash and the other one would be about the ScPostIt crash.
I have bug 105055 for the second case.
*** Bug 105055 has been marked as a duplicate of this bug. ***
*** Bug 105030 has been marked as a duplicate of this bug. ***
I don't know enough about the internals and can't evaluate if bug 105055 is a duplicate of bug 104969 really or not. Originally bug 105055 (Shutdown of LO hangs) was part of bug 104969, because I have produced both cases with the same test document - see comments 1, 2 and 5! The ways to reproduce both problems are nearly the same (copy + paste a cell without or with inserted comment) but the results are different: 1. copy + paste cell without comment --> LO crashes while shutdown --> fixed by patch from Markus Mohrhard in LO 5.4.0 (see comment_3) 2. copy + paste cell with comment --> shutdown of LO hangs and new start of LO is hindered --> not fixed by the patch!!! Therefore I have reported the new bug 105055 for the second case, see also the last sentence in comment 6 from Markus Mohrhard!
*** Bug 105097 has been marked as a duplicate of this bug. ***
(In reply to V Stuart Foote from comment #12) > *** Bug 105097 has been marked as a duplicate of this bug. *** I was a bit confused :) So this is fixed in Master? I hope it is cherry picked for 5.3.0.2 I know there is no data loss but it undermines the stability image of LibreOffice...
Hmm, so Status showed Assigned but with no assignee. anyhow cherry picks are in for review 5.3 https://gerrit.libreoffice.org/#/c/32667/1 5.2 https://gerrit.libreoffice.org/#/c/32668/1 ...to Resolved Fixed
Testing was requested, so: no crash here. Version: 5.4.0.0.alpha0+ Build ID: 3afe82bd63fde41d2a88418fb64e4ff587b05436 CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-01-04_23:42:57 Locale: fi-FI (fi_FI); Calc: group
Markus Mohrhard committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=cdd309c23de58af306450edfac5d3e74e5c2a913&h=libreoffice-5-3 process all outstanding events before shutdown, tdf#104969, tdf#104286, tdf#104399 It will be available in 5.3.0.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f9c3998c2260995cccce060d1226b47ac2dc8c2d&h=libreoffice-5-2 process all outstanding events before shutdown, tdf#104969, tdf#104286, tdf#104399 It will be available in 5.2.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Just for reference, this crash originated from the commit referenced below, a fix for bug 103852: https://cgit.freedesktop.org/libreoffice/core/commit/?id=c53cf1dfc5eacd8fee6b2b549ec6b59ad927e01c
*** Bug 104924 has been marked as a duplicate of this bug. ***
*** Bug 105252 has been marked as a duplicate of this bug. ***
I have tested with Version: 5.3.0.1.0+ Build-ID: 4c8be6327f6d71d426bbf9887fd7d8a24ffd06a3 CPU-Threads: 4; BS-Version: Windows 6.2; UI-Render: Standard; Layout-Engine: neu; TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-3, Time: 2017-01-13_13:05:28 Gebietsschema: de-DE (de_DE); Calc: group and with Version: 5.2.5.1 (x64) Build-ID: 0312e1a284a7d50ca85a365c316c7abbf20a4d22 CPU-Threads: 4; BS-Version: Windows 6.19; UI-Render: Standard; Gebietsschema: de-DE (de_DE); Calc: group Results of both tests: OK! LO crashes no longer.
Great, now we have verification for all branches.
*** Bug 102936 has been marked as a duplicate of this bug. ***