Created attachment 148932 [details] Document that causes the crash In order to reproduce the bug: [1] Open the attached document in docx format. The document is displayed but the mouse pointer indicates, that the system is working. Expected: Document should be ready for editing. [2] Click into document. The whole window is greyed. The mouse pointer still indicates, that the system is working. It's only possible to close LibreOffice. A data loss is possible if you do this: [1] Open an existing document and change this document a bit. [2] Open the attached document. [3] Now you can only close LibreOffice via the cross of the title bar. Then Windows informs you, that you can either close LibreOffice or you can still wait. [4] Close LibreOffice. [5] Start LibreOffice again. The recovery dialogue is opened. Both documents are listed in the recovery dialogue. [6] Start recovery. Both documents are recovered. Then 'Finish'. The mouse pointer indicates again, that the system is working. You can only close LibreOffice again. A saving of the first document is not possible. The change of step 1 is lost. In order to avoid a data loss, it should be possible to select the documents that you want to recover at step 5.
Thank you for reporting the bug. I confirm the bug is present in Version: 6.3.0.0.alpha0+ Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87 CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04 Locale: en-US (en_US); UI-Language: en-US Calc: threaded
Created attachment 149124 [details] WinDBG from procdump FOLLOWUP_IP: swlo!SwPosition::operator<+e 5c3992de 8b5e0c mov ebx,dword ptr [esi+0Ch] SYMBOL_NAME: swlo!SwPosition::operator<+e
Created attachment 149125 [details] Document compared MSO OO LO3.4.jpg Used to open with OO, than wrong open with LO 3.4 and hang from LO 3.5. Looks like an error was made when fixing previous layout regression.
Created attachment 149139 [details] Minimized sample While it's true that attached document was Restricted Editing DOCX and saved with pass and 14 pages long, that all obscured the root cause which is check box form fields on page 13. I attach the minimized sample. Harald, since you're long-time bug reporter, please try to pinpoint the cause and to create a minimal sample document. Dividing by half is a simple method. Durgapriyanka, while confirming the bug is useful, more useful is to test different versions and as written, to minimize the sample.
(In reply to Timur from comment #4) > Harald, since you're long-time bug reporter, please try to pinpoint the > cause and to create a minimal sample document. Dividing by half is a simple > method. The document, that I attached to the original report, is provided by the public administration in order to list candidates for general elections. Myself I did not made any changes to this document and due to this bug I am not able to make any changes with LibreOffice. I also tried it with version 3.3.0. This version did not hang, but if you save the document under a different name the file is corrupted. Furthermore on my system I have not installed MSO, so I am sorry that I can't provide a minimal sample document.
@Julien, would it be possible to have a perf chart for this bug ?
(In reply to Xisco Faulí from comment #6) > @Julien, would it be possible to have a perf chart for this bug ? No problem, I'll do it after my daytime job.
Created attachment 155757 [details] perf flamegraph Here's a Flamegraph on pc Debian x86-64 with master sources updated today (63c5a1e2aa9e39633c3e644df0d8d9f8cedfc10e)
(In reply to Julien Nabet from comment #8) > Created attachment 155757 [details] > perf flamegraph > > Here's a Flamegraph on pc Debian x86-64 with master sources updated today > (63c5a1e2aa9e39633c3e644df0d8d9f8cedfc10e) Hi Noel, I thought you might be interested in this issue...
This not strictly a speed issue, it's some kind of layout hang. Sorry, I don't do those.
Created attachment 155989 [details] strace log On pc Debian x86-64 with master sources updated today +enable-symbols (not enable-dbgutil), I retrieved a strace. I'm a beginner about interpreting it but it seems that the pb is just after: line 37240: 459287 23:03:33.841129 close(24) = 0 37241 459287 23:03:33.841297 brk(0x55e2085c4000) = 0x55e2085c4000 37242 459310 23:03:34.263558 <... futex resumed> ) = -1 ETIMEDOUT (Connexion terminée par expiration du délai d'attente) 37243 459310 23:03:34.263623 futex(0x55e204be5e20, FUTEX_WAIT_PRIVATE, 1, {tv_sec=14, tv_nsec=999998708}) = -1 ETIMEDOUT (Connexion terminée par expiration du délai d'attente) 37244 459310 23:03:49.263957 futex(0x7f204c785c40, FUTEX_WAKE_PRIVATE, 1 <unfinished ...> 37245 459287 23:03:49.263987 futex(0x7f204c785c40, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...> 37246 459310 23:03:49.264000 <... futex resumed> ) = 0 37247 459287 23:03:49.264010 <... futex resumed> ) = -1 EAGAIN (Ressource temporairement non disponible) 37248 459310 23:03:49.264021 madvise(0x7f203b3a4000, 8368128, MADV_DONTNEED <unfinished ...> 37249 459287 23:03:49.264031 futex(0x7f204c785c40, FUTEX_WAKE_PRIVATE, 1 <unfinished ...> 37250 459310 23:03:49.264052 <... madvise resumed> ) = 0 37251 459287 23:03:49.264062 <... futex resumed> ) = 0
*** Bug 123233 has been marked as a duplicate of this bug. ***
still repro in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 1516711eb7861a08cc9fd19ec867360737a6d070 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded
Dear Harald Koester, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I repro the hang on latest master. I took an ETW trace on Windows and got the following results: Most time spent underneath: swlo.dll!SwTextFrame::FormatImpl (about 35 secs) Breakdowns from underneath that frame show the following frames with significant activity: - swlo.dll!SwTextFormatter::NewPortion (about 22 secs) - swlo.dll!SwTextFormatter::Underflow (about 12 secs - underneath NewPortion) - swlo.dll!SwTextIter::SeekAndChg (about 10 secs) - swlo.dll!SwTextSizeInfo::GetMultiCreator (about 5 secs)