Created attachment 81382 [details]
The attached document is a part of a large document created in LO 3.6.3. Suddenly it began to hang for a minute, then crash. The process monitor shows continuous consumption of memory in the frozen state until it reaches 1.7 GB.
If I select all and clear direct formatting, then the problem disappears.
Created attachment 81401 [details]
Bug 66141 - WinDbg session with FAILED_SOURCE_CODE
Build ID: 2013-06-24 own debug build
Windows 7 Professional SP1 64 bit
Crash at 1,7 GB memory usage after opening the file.
Attached full WinDbg session with FAILED_SOURCE_CODE.
NEW as bug confirmed and bt attached.
The problem disappears if I comment out the following lines in content.xml:
<style:style style:name="Таблица428.A" style:family="table-column">
<style:table-column-properties style:column-width="2.044cm" style:rel-column-width="7485*"/>
<style:style style:name="Таблица428.B" style:family="table-column">
<style:table-column-properties style:column-width="9.005cm" style:rel-column-width="32974*"/>
<style:style style:name="Таблица428.C" style:family="table-column">
<style:table-column-properties style:column-width="6.629cm" style:rel-column-width="24274*"/>
<style:style style:name="Таблица428.D" style:family="table-column">
<style:table-column-properties style:column-width="0.219cm" style:rel-column-width="802*"/>
On pc Debian x86-64 with master sources, no problem with the file.
However with 4.0.3 Debian packages, it hangs at the opening.
To complete information, could you give a try to 4.0.4 and, if you still have the problem, give a try to pre release 4.1 RC1 (see http://www.libreoffice.org/download/pre-releases/)?
4.0.4 is affected, too.
As shown in comment #1, 126.96.36.199 alfa0 displays the same problem. Both under Windows x64.
I just wanted to clarify how to reproduce this hang. The document may be open without error, but if you scroll down the document, and then scroll up to top, then this problem happens. As I found out (it is noted in Comment #3), the problematic is the first table (it has the identifier "Таблица428"), and specifically the direct formatting of its columns (which looks absolutely innocent in the source xml).
I'll try to check with 4.1 ASAP (however, Comment #1 seems to make this useless).
188.8.131.52 hangs and crashes at 1.7 GB, as expected.
Mike: thank you for the feedback, i put it back to NEW
AOO 4.0 is affected, too.
In 184.108.40.206, it hangs and crashes without scrolling - right after opening.
Submitted patch to gerrit - https://gerrit.libreoffice.org/15542
Mike committed a patch related to this issue.
It has been pushed to "master":
tdf#66141: SwTxtFrm::FormatQuick(bool) endless loop
It will be available in 5.0.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:
Affected users are encouraged to test the fix and report feedback.
"If no ones going to fixes my bug then I'll just have to fix it myself" :-)