https://bugs.freedesktop.org/show_bug.cgi?id=73095

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |critical
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]

--- Comment #12 from Michael Stahl <[email protected]> ---
crash is reproducible on Windows7 too, with LO 4.2.0.2 release build
(but not current master).

on Linux i'm seeing valgrind "Invalid read" warning on current master
with same backtrace as Windows crash.

==1831== Invalid read of size 4
==1831==    at 0x22119466: SwFntObj::DrawText(SwDrawTextInfo&)
(fntcache.cxx:1576)
==1831==    by 0x22156682: SwSubFont::_DrawText(SwDrawTextInfo&, unsigned char)
(swfont.cxx:1213)
==1831==  Address 0x2c44f650 is 4 bytes after a block of size 140 alloc'd
==1831==    at 0x4A06F70: operator new[](unsigned long) (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1831==    by 0x22118B8F: SwFntObj::DrawText(SwDrawTextInfo&)
(fntcache.cxx:1447)
==1831==    by 0x22156682: SwSubFont::_DrawText(SwDrawTextInfo&, unsigned char)
(swfont.cxx:1213)

[ and another one 8 bytes after follows ]

looking at that stack it's clearly regression from:

commit 02ce734450559c9353ca7f42b2519239220dd265
Author:     Khaled Hosny <[email protected]>
AuthorDate: Sun Dec 8 22:30:28 2013 +0200
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Dec 9 09:01:00 2013 +0000

    fdo#72488: Broken text when showing visible space

    Turning on showing nonprinting characters replaces the space with bullet
    character, but still draws the text with the original kern array, this
    works fine until there are ligatures involving the space character as
    the number of glyphs after replacing the space with the bullet will be
    different and the kern array will be completely off.

    This is a hack that gives up on replacing the space with a bullet when
    its width is zero, not sure if it would interfere with other legitimate
    uses.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to