Created attachment 92410 [details] The test document (appending further text causes error) Problem description: When I write more than two lines in a section consisting of three columns, LO-Writer crashes. Steps to reproduce: 1. Open attached document 2. Append any text to the first column. Current behavior: The application stops working. Expected behavior: The application should continue working and the entered text should be wrapped to the second column. Operating System: Windows (other) Version: 4.1.4.2 release
I confirm this bug on the two versions below. I'm changing the priority to highest blocker since this bug causes frequent freezes. I tested using: WIN 8 x86-64 Version: 4.2.0.2 Build ID: cd65d6220c5694ee7012d7863bcde3455c9e3c30 and Version: 4.1.4.2 Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72
On pc Debian x86-64 with master sources updated today, I can reproduce this. I tried some gdb and noticed this: 3 breakpoint keep y 0x00002aaac8e98b66 in SwLayoutFrm::ContainsCntnt() const at /home/julien/compile-libreoffice/libo/sw/source/core/layout/findfrm.cxx:105 breakpoint already hit 691 times See http://opengrok.libreoffice.org/xref/core/sw/source/core/layout/findfrm.cxx#80 Michael: one for you?
Tested with versions master, 4.2.1.0.0+ and 4.2.0.2 on Ubuntu 13.10 x86-64. No crash for me but LO freezes with what seems an infinite loop. There is something strange in the test file: 1/ it has 2 lines in the first column and nothing in column 2 and 3 2/ the section is formatted with the option "Evenly distribute contents to all columns" These 2 facts are incompatible: with 2/ we should have one line in column 1 and one line in column 2. If I go to Format > Section > Options > Tab Column and uncheck the option, then I do not reproduce the freeze anymore. If I insert some text, go back to the column tab and recheck this option, it still works as expected. Last thing, I can't reproduce the problem from an empty file: a/ insert a section with 3 columns b/ type some text in column 1 whatever is the option chosen for the text distribution in the columns. Hope this helps. Best regards. JBF
that's amazing - this loops (on Linux) in every version of LO and OOo i tried, back to OOo 3.0.1. so no regression. but very good reproducer document :) lots of assertions like this: warn:legacy.osl:6156:1:sw/source/core/layout/flowfrm.cxx:2532: <SwFlowFrm::MoveBwd(..)> - layout loop control for layout action <Move Backward> applied! warn:legacy.osl:6156:1:sw/source/core/layout/layact.cxx:851: LoopControl_2 in Interrupt formatting in SwLayAction::InternalAction with 2 or 4 or 5 columns it doesn't loop. un-checking "Evenly distribute contents to all columns" makes it not loop. if the first-line indent of the paragraph in the section is set to 0 then it loops just for a couple of seconds and the document is then editable again.
(In reply to comment #3) > There is something strange in the test file: > 1/ it has 2 lines in the first column and nothing in column 2 and 3 > 2/ the section is formatted with the option "Evenly distribute contents to > all columns" > These 2 facts are incompatible: with 2/ we should have one line in column 1 > and one line in column 2. i guess Widow / Orphan settings have something to do with this.
freeze still reproducible under Win7x64 using 4.2.3.3 moving it to mab4.2 list since 4.1.x is END OF LIFE
Just for information, I can reproduce this on pc Debian x86-64 with master sources updated yesterday.
*** Bug 79636 has been marked as a duplicate of this bug. ***
retested under Win8.1 x64 both LibO 4.3.4.1 and 4.5.0.0alpha freeze after adding text to 1st column moving bug to mab4.3 list since 4.2.x is EOL
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.