Created attachment 99507 [details] File hang LO on open Problem description: Steps to reproduce: 1. Open document in LibreOffice Current behavior: When document open in LibreOffice, LO get hanged Expected behavior: Document open properly in LibreOffice. Operating System: All Version: 4.3.0.0.alpha0+ Master
Version: 4.3.0.0.alpha1+ Build ID: cd11bc699ac50af4f560ed5f2e5e7903de0898b8 TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-05-20_08:02:54 Repro, tested using windows 8.1 with LibreOffice Version: 4.3.0.0.alpha1+ Build ID: cd11bc699ac50af4f560ed5f2e5e7903de0898b8 TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-05-20_08:02:54 Kind regards, Joren
Still repro Version: 5.0.0.0.alpha1+ (x64) Build ID: 9d0c51daea67104349cac26de9839afa8baeb099 TinderBox: Win-x86_64@42, Branch:master, Time: 2015-05-15_23:59:35 Locale: nl-BE (nl_BE)
Looks like inherited.
Created attachment 115933 [details] Minimal testcase for bug 79018 Hang occurs on a footnote that follows a footnote having these properties: 1. has "w:customMarkFollows" attribute set to true; 2. has trailing <w:br/> in footnote text. In original doc, it is footnote with id=3 (first on page 3), that goes after footnote id=2 (second on page 1). If these conditions are met, then in SwTextFrm::_Format( SwTextFormatter &rLine, SwTextFormatInfo &rInf, const bool bAdjust ), the loop do { ... }while( !bBreak ); won't stop, and each time the following instruction is executed: rLine.Insert( new SwLineLayout() ); which eventually leads to OOM.
Created attachment 116590 [details] Backtrace STACK_COMMAND: dt ntdll!LdrpLastDllInitializer BaseDllName ; dt ntdll!LdrpFailureData ; ~0s; .ecxr ; kb FAILURE_BUCKET_ID: STATUS_BREAKPOINT_80000003_swlo.dll!SwNodes::GetDoc BUCKET_ID: APPLICATION_FAULT_STATUS_BREAKPOINT_swlo!SwNodes::GetDoc+d FAILURE_ID_HASH_STRING: um:status_breakpoint_80000003_swlo.dll!swnodes::getdoc
Oliver Specht committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=089d7f53ea232972961c14706a54187f075fa973 tdf#79018: Prevent line break as footnote label It will be available in 5.1.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.
Oliver Specht committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=adf39dbade8652ceca9007484bfa20f04c5ebec0&h=libreoffice-5-0 tdf#79018: Prevent line break as footnote label It will be available in 5.0.2. 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.
fix is trivial enough, backported
Oliver Specht committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a02d7cbd70f3c5703f61f380caf91c460aa3a530&h=libreoffice-4-4 tdf#79018: Prevent line break as footnote label It will be available in 4.4.6. 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.