Description: there is another performance problem though, which is *not* an infinite loop but at least in a debug build it's taking a bloody long time scaling a bitmap inside a metafile that must be somewhere in the document to a width of 865 million pixels; this is due to these values read from the metafile: MetaBmpExScaleAction::Read() p maPt $43 = Point = { x = 621353314, y = -1397620223 } p maSz $44 = Size = { width = 1917665794, height = 242 } this happens while creating preview image in SfxPickListImpl::AddDocumentToPickList() during load. bibisected to: commit b67d9a5db61de3cef2dac072c55bf1dac9a2dc4c Author: Caolán McNamara <caolanm@redhat.com> AuthorDate: Wed Oct 10 16:48:06 2018 +0100 can use remainingSize instead of Seek(STREAM_SEEK_TO_END) Steps to Reproduce: 1. open attached SVM Actual Results: marvel at nothingness being displayed Expected Results: an image Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 151215 [details] reproducer extracted from document of bug 124281 because that one triggers infinite loop in layout...
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/34d1280271b74e1764bd4d1e34cb53b2b0c0dd62%5E%21 tdf#125153 vcl: fix ImplReadDIBFileHeader() It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/ddb78c7435444e74c4175156025c1dc596029afe%5E%21 tdf#125153 vcl: fix ImplReadDIBFileHeader() It will be available in 6.2.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
If I import the image in writer, it doesn't hang for me, but the image is blank. Fixed after Michael's commit. Verified in Version: 6.3.0.0.alpha0+ Build ID: 299e34275574d4fa0d9b175231f5cfdbb49c4f4c CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Michael, Stahl, thanks for fixing this issue!
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-6-2-4": https://git.libreoffice.org/core/+/62d1222fde5adff3949e4ea5a593f3aff6fe8631%5E%21 tdf#125153 vcl: fix ImplReadDIBFileHeader() It will be available in 6.2.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.