[Libreoffice-bugs] [Bug 140077] Fatal Error after insert a new line by Enter (std::bad_array_new_length)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Feb 21 19:01:04 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=140077
--- Comment #11 from Dave Gilbert <freedesktop at treblig.org> ---
My bad array for me is coming from:
#2 0x00007fa24d923317 in OutputDevice::ImplLayout (this=0x841d980,
rOrigStr=..., nMinIndex=26, nLen=-3,
rLogicalPos=..., nLogicalWidth=<optimized out>, pDXArray=0x6df5ed0,
flags=SalLayoutFlags::NONE,
pLayoutCache=0x0, pGlyphs=0x0) at
/discs/fast/core/vcl/source/outdev/text.cxx:1289
1289 xDXPixelArray.reset(new DeviceCoordinate[nLen]);
(gdb) list
1284 if( pDXArray)
1285 {
1286 if(mbMap)
1287 {
1288 // convert from logical units to font units using a
temporary array
1289 xDXPixelArray.reset(new DeviceCoordinate[nLen]);
'nLen' is -3 here. (hmm, difference between nEnd nPos previously?)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210221/6f311c01/attachment.htm>
More information about the Libreoffice-bugs
mailing list