Steps to reproduce: 1. Open attachment 145867 [details] from bug 120744 -> Sheet autorefresh-direct is displayed 2. Select all ( Ctrl + A ) 3. Cut ( Ctrl + X ) 4. Use Undo many times until it crashes ( better if done fast without holding Ctrl + ) -> Crash Reproduced in Version: 6.3.0.0.alpha0+ Build ID: c9956772ec0678498515fb60dca41e9a77457f86 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=7282014e362a1529a36c88eb308df8ed359c2cfa author Noel Grandin <noel.grandin@collabora.co.uk> 2019-02-01 15:15:16 +0100 committer Mike Kaganski <mike.kaganski@collabora.com> 2019-04-05 13:43:52 +0200 commit 7282014e362a1529a36c88eb308df8ed359c2cfa (patch) tree 2776ad9601f494330076ac58c08554e719c6ab3a parent df30a4515b1303b0891baa53754fa9b3e47e0c02 (diff) tdf#50916 Makes numbers of columns dynamic. Bisected with: bibisect-linux64-6.3 Adding Cc: to Noel Grandin
This is some kind of threading bug. I can crash it with the commit before mine, it just takes a little more effort.
This appears to be related to commit 9c5f3baa657290cca801767f9e5886f6287e2f08 Author: Serge Krot <Serge.Krot@cib.de> Date: Wed Oct 24 15:38:17 2018 +0200 sc: fix: range/step calculation for progress bar THe UNDO code triggers a row height calculation, the code in the above commit calls reschedule, while the rescheduled event loop is running another UNDO happens, and BOOM, we a nested UNDO which is not allowed.
Indeed, I can reproduce it in Versión: 6.2.2.2 Id. de compilación: 2b840030fec2aae0fd2658d8d4f9548af4e3518d Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: threaded
Serge Krot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/78a1fd8e1d48f9cbc71b35b1c27379c6152667cc%5E%21 tdf#124829 sc: fix crash during progress update It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Serge Krot committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/4d76f6232289f6a875b30a4cc7dec1226ffb70cb%5E%21 tdf#124829 sc: fix crash during progress update It will be available in 6.2.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 6.3.0.0.alpha0+ Build ID: 299e34275574d4fa0d9b175231f5cfdbb49c4f4c CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Serge Krot, thanks for fixing this issue!
Serge Krot committed a patch related to this issue. It has been pushed to "libreoffice-6-2-4": https://git.libreoffice.org/core/+/f937948f09c4d1346fa2e4428a1d8e0c6da0b7f7%5E%21 tdf#124829 sc: fix crash during progress update It will be available in 6.2.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Zdeněk Crhonek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/92e2776fc24ea5a13239f7f753e7d50e0c901295%5E%21 uitest for bug tdf#124829 It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.