Description: Opening leads to a hang with very fast memory usage growth. 16gb of memory is consumed within less than half a minute Should be an invalid file as table:number-columns-repeated must be positive. Tested it on version 5.3.5.2 on Ubuntu 16.04.2 LTS. On Windows 10 it leads to fatal error: bad allocation instead of hang Steps to Reproduce: 1.Open the file Actual Results: hangs with very high memory usage Expected Results: getting parsing error Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
Created attachment 135778 [details] Hangs with high memory usage
Confirmed with Version: 6.0.0.0.alpha0+ Build ID: b9f85538e65882238de80ab36c864bc0082ad7f4 CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-08-20_00:40:11 Locale: en-US (en_US.UTF-8); Calc: single
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=384abc0615b22c586544689d5e28e92c0e74481e Related: tdf#112018 limit to min of 1 before conversion from signed int It will be available in 6.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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
5-4 backport in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3415764d00044a19568b3a1b5d5382c73a0342c9 Resolves: tdf#112018 number-columns-repeated has the data type positiveInteger It will be available in 6.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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d2eb1a06fdd823a985c0e1f58df6c92bcc1f3629&h=libreoffice-5-4 Related: tdf#112018 limit to min of 1 before conversion from signed int It will be available in 5.4.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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=dccb73d961799a88f5fd28423808f184db5de985&h=libreoffice-5-4 Resolves: tdf#112018 number-columns-repeated has the data type positiveInteger It will be available in 5.4.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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=eab61f66c6cfa4b290c8789a375e6894be054f32&h=libreoffice-5-3 Resolves: tdf#112018 number-columns-repeated has the data type positiveInteger It will be available in 5.3.7. 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.