The original document was taken from https://bugs.documentfoundation.org/show_bug.cgi?id=98681 (bug 98681). I saved the original document from OOXML docx to binary doc using WPS Office (Linux) and then opened the .doc in Libreoffice. Scrolled it from the begining of the document to the end for several times and Libreoffice hanged. Saved it into odt, but in odt it also hangs. Reproduced on Libreoffice 5.2.4 and 5.3 beta1 nightly build 08.12.2016
I hangs completely, making to high load on the CPU and/or the graphical system (Xorg)
please upload here the exact version of the file that makes LibO hangs
Created attachment 129391 [details] doc
Forgot to attach it. I can't reproduce freezing on another computer with KDE. The first was with Unity (but I don't think that the DE matters)
(In reply to Mikhail Novosyolov from comment #1) > I hangs completely, making to high load on the CPU and/or the graphical > system (Xorg) ..making NO high load.. (to-->no) (sorry mor misspelling)
Scrolling down and then up again in Version: 5.4.0.0.alpha0+ Build ID: 7fc84a8e6678e3d0399983f5a078c9b2beb6ee4b CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group I get the following error: 'object has been already disposed' and then LibreOffice is closed automatically
Created attachment 129393 [details] screenshot
Error in comment 6 isn't displayed in GTk2, but LibreOffice hangs anyway. Version: 5.4.0.0.alpha0+ Build ID: 7fc84a8e6678e3d0399983f5a078c9b2beb6ee4b CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; Locale: ca-ES (ca_ES.UTF-8); Calc: group
I can't reproduce the hang in Version: 4.5.0.0.alpha0+ Build ID: 2851ce5afd0f37764cbbc2c2a9a63c7adc844311 Locale: ca_ES thus, this is a regression. Raising importance
I can reproduce it in Version: 5.2.0.4 Build ID: 066b007f5ebcc236395c7d282ba488bca6720265 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; Locale: ca-ES (ca_ES.UTF-8) but not in Version: 5.1.6.2 Build ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; Locale: ca-ES (ca_ES.UTF-8); Calc: group
@raal, could you please bisect this one whenever you have some time? it's a critical one and should be fixed asap. Regards
I cannot reproduce this bug on windows. Mikhail, what is your OS? On linux command line error: (soffice:10366): Gtk-CRITICAL **: gtk_grid_attach: assertion 'GTK_IS_GRID (grid)' failed
Created attachment 129453 [details] the same .doc converted to .odt, also hangs
Linux. But I could not reproduce the bug on the same version of Libreoffice in KDE with KWin (Intel graphics). The bug is reproducable in Unity with Compiz (by default) (Nvidia Optimus, Nvidia off by Prime, working on Intel). Can someone test it with other Window managers?
regression introduced in range https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=49f81b3f33e1b043a1615855503768d78db5f093..af57a81d0c28944b424649f024c28f444a1ab2d9
Created attachment 129477 [details] a backtrace lang::DisposedException is thrown at accessibility::AccessibleContextBase::ThrowIfDisposed.
@Michael, Could it be possible that this was introduced by one of your commits here? https://cgit.freedesktop.org/libreoffice/core/log/sw?qt=range&q=49f81b3f33e1b043a1615855503768d78db5f093..af57a81d0c28944b424649f024c28f444a1ab2d9
it doesn't crash in Version: 5.4.0.0.alpha0+ Build ID: 634589b340316ba64b731b4d923c1056be415494 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: x11; Locale: ca-ES (ca_ES.UTF-8); Calc: group
Created attachment 129567 [details] gdb backtrace
*** Bug 104607 has been marked as a duplicate of this bug. ***
*** Bug 104620 has been marked as a duplicate of this bug. ***
*** Bug 104656 has been marked as a duplicate of this bug. ***
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5a3b2111172f106378cbf78aba0fde1db3642275 tdf#104488 editeng,svx: throw less Accessible exceptions 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.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9ada2da6f1bceb5d24f23d8df08103535714918a tdf#104488 sw: assert if exception escapes from UpdateAccessible() 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.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b052b5d890be70dd22b9aea36a356074a2c39871 tdf#104488 SwAccessibleMap: dispose sub-shapes of group shapes 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.
regression from: commit b299aa7c64adc2de86c367888e6ccb73c4b31bc2 Author: Michael Stahl <mstahl@redhat.com> AuthorDate: Thu Feb 25 23:24:53 2016 +0100 sw: restore some Dispose calls in a11y code fixed on master, hopefully all AccessibleShapes should be disposed at the right time now
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0dd9e51abc5705b7ae253d3f9b284136cf1597d6&h=libreoffice-5-3 tdf#104488 editeng,svx: throw less Accessible exceptions It will be available in 5.3.0.1. 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.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2e74bf2e05f0c98bb9ca318e6b0f9e715d0fdba7&h=libreoffice-5-3 tdf#104488 sw: assert if exception escapes from UpdateAccessible() It will be available in 5.3.0.1. 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.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=211b9d9ef2b5c68a32c88453c9ae0e1131460eb8&h=libreoffice-5-3 tdf#104488 SwAccessibleMap: dispose sub-shapes of group shapes It will be available in 5.3.0.1. 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.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0152535649bf6827767af47e115580b2cc1906f6&h=libreoffice-5-2 tdf#104488 editeng,svx: throw less Accessible exceptions 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.