https://bugs.documentfoundation.org/show_bug.cgi?id=102625

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated today, I got a crash.

There's indeed a pb when dealing with surrogate.
See part of bt when typing space after having clicking on middle of 𝑛
character:
#0  SmParser::Parse(rtl::OUString const&) (this=0x3205db8, rBuffer="\xd835
\xdc5b") at starmath/source/parse.cxx:2381
#1  0x00007fffdc3981e3 in SmDocShell::Parse() (this=0x3205c20) at
starmath/source/document.cxx:222
#2  0x00007fffdc397e7c in SmDocShell::SetText(rtl::OUString const&)
(this=0x3205c20, rBuffer="\xd835 \xdc5b\n") at starmath/source/document.cxx:145
#3  0x00007fffdc3973c8 in SmDocShell::Execute(SfxRequest&) (this=0x3205c20,
rReq=...) at starmath/source/document.cxx:1034

There shouldn't be an extra space here: "\xd835 \xdc5b"

The crash is triggered by
https://cgit.freedesktop.org/libreoffice/core/commit/?id=11b57129b53e1e2d71a5f969e2417226b4e2ddd9
but it just makes the bug worse, it didn't create it.

I don't understand how come typing space may indeed insert a space between a
pair of surrogates in rBuffer.

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

Reply via email to