[Libreoffice-bugs] [Bug 131273] Crash when pasting quotes with fixed width

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 11 10:44:43 UTC 2020


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

--- Comment #2 from Samuel Mehrbrodt (CIB) <s.mehrbrodt at gmail.com> ---
Paste unformatted, then choose "Fixed width" in the dialog which appears.

Backtrace:

#3  0x00007ffff7a78006 in __GI___assert_fail
    (assertion=0x7ffff7f8d84b "false", file=0x7ffff7f8ca28
"/libreoffice/core/sal/rtl/strtmpl.cxx", line=1390, function=0x7ffff7f8d7f0
"void rtl_uString_newFromSubString(rtl_uString**, const rtl_uString*,
sal_Int32, sal_Int32)") at assert.c:101
#4  0x00007ffff7f379e3 in rtl_uString_newFromSubString(rtl_uString**,
rtl_uString const*, sal_Int32, sal_Int32) (ppThis=0x7ffffffefdd0,
pFrom=0x55555b5cbb30, beginIndex=1, count=-1)
    at /libreoffice/core/sal/rtl/strtmpl.cxx:1390
#5  0x00007fffdbd89cbc in rtl::OUString::copy(int, int) const
    (this=0x7ffffffefec8, beginIndex=1, count=-1) at
/libreoffice/core/include/rtl/ustring.hxx:2256
#6  0x00007fffdcadc844 in lcl_GetFixed(rtl::OUString const&, sal_Int32,
sal_Int32, bool&, bool&)
    (rLine="\"", nStart=0, nNext=1, rbIsQuoted=@0x7ffffffefed8: true,
rbOverflowCell=@0x5555586e8843: false) at
/libreoffice/core/sc/source/ui/docshell/impex.cxx:1281
#7  0x00007fffdcadd31d in ScImportExport::ExtText2Doc(SvStream&)
(this=0x5555586e87f0, rStrm=...)
    at /libreoffice/core/sc/source/ui/docshell/impex.cxx:1418
#8  0x00007fffdcad934f in ScImportExport::ImportStream(SvStream&, rtl::OUString
const&, SotClipboardFormatId) (this=0x5555586e87f0, rStrm=..., rBaseURL="",
nFmt=SotClipboardFormatId::STRING)
    at /libreoffice/core/sc/source/ui/docshell/impex.cxx:383
#9  0x00007fffdcad8beb in ScImportExport::ImportString(rtl::OUString const&,
SotClipboardFormatId)
    (this=0x5555586e87f0, rText="\n1\n\"", nFmt=SotClipboardFormatId::STRING)
    at /libreoffice/core/sc/source/ui/docshell/impex.cxx:309
#10 0x00007fffdd07b0a5 in
ScViewFunc::<lambda(sal_Int32)>::operator()(sal_Int32) const
    (__closure=0x55555b48b160, nResult=1) at
/libreoffice/core/sc/source/ui/view/viewfun5.cxx:361
#11 0x00007fffdd07f3a4 in std::_Function_handler<void(int),
ScViewFunc::PasteDataFormat(SotClipboardFormatId, const
com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable>&,
SCCOL, SCROW, const Point*, bool, bool)::<lambda(sal_Int32)> >::_M_invoke(const
std::_Any_data &, int &&)

-- 
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/20200311/4808dca2/attachment.htm>


More information about the Libreoffice-bugs mailing list