https://bz.apache.org/ooo/show_bug.cgi?id=110486

--- Comment #8 from [email protected] ---
Furthermore in debug build, Ctrl+Alt+Shift+D, enable "MessageBox" for errors,
when pasting it gives:

Error: Can't process more than 64K paragraphs!
>From File main/editeng/source/editeng/impedit2.cxx at Line 2941

So it's a 16 bit paragraph limit we're hitting.

Attaching gdb and backtracing:

#0  0x000000080080c63a in _poll () at /lib/libc.so.7
#1  0x00000008006c2776 in  () at /lib/libthr.so.3
#2  0x0000000806afd431 in  () at /usr/local/lib/libglib-2.0.so.0
#3  0x0000000806afd558 in g_main_context_iteration () at
/usr/local/lib/libglib-2.0.so.0
#4  0x000000080665015b in GtkXLib::Yield(bool, bool) (this=0x8060ca010,
bWait=true, bHandleAllCurrentEvents=<optimized out>) at
unx/gtk/app/gtkdata.cxx:874
#5  0x00000008029b56ca in ImplYield(bool, bool) (i_bWait=true,
i_bAllEvents=false) at source/app/svapp.cxx:476
#6  0x0000000802bc5828 in Dialog::Execute() (this=0x7fffffff8420) at
source/window/dialog.cxx:701
#7  0x00000008029a4d99 in SolarMessageBoxExecutor::doIt() (this=<optimized
out>) at source/app/dbggui.cxx:1862
#8  0x0000000802bae2a2 in vcl::SolarThreadExecutor::impl_execute(TimeValue
const*) (this=0x7fffffff8798, _pTimeout=0x7fffffff87c8) at
source/helper/threadex.cxx:103
#9  0x00000008029a4eab in DbgPrintMsgBox(char const*)
    (pLine=0x7fffffff8820 "Error: Can't process more than 64K paragraphs!\nFrom
File main/editeng/source/editeng/impedit2.cxx at Line 2941") at
source/app/dbggui.cxx:1900
#10 0x0000000800f7984b in DbgOut(char const*, unsigned short, char const*,
unsigned short) (pMsg=<optimized out>, nDbgOut=nDbgOut@entry=3,
pFile=<optimized out>, nLine=<optimized out>, nLine@entry=2941) at
source/debug/debug.cxx:1753
#11 0x0000000804454a7d in ImpEditEngine::ImpInsertParaBreak(EditPaM const&,
unsigned char) (this=this@entry=0x81d5b9010, rPaM=..., bKeepEndingAttribs=1
'\001') at source/editeng/impedit2.cxx:2941
#12 0x0000000804455154 in ImpEditEngine::ImpInsertParaBreak(EditSelection
const&, unsigned char) (this=0x81d5b9010, rCurSel=..., bKeepEndingAttribs=1
'\001') at source/editeng/impedit2.cxx:2934
#13 0x000000080443e6b3 in EditHTMLParser::ImpInsertParaBreak()
(this=this@entry=0x80dc99510) at source/editeng/eehtml.cxx:526
#14 0x000000080443ede0 in EditHTMLParser::EndPara(unsigned char)
(this=this@entry=0x80dc99510) at source/editeng/eehtml.cxx:761
#15 0x000000080443e321 in EditHTMLParser::NextToken(int) (this=0x80dc99510,
nToken=695) at source/editeng/eehtml.cxx:249
#16 0x0000000801c699e9 in HTMLParser::Continue(int) (this=0x80dc99510,
nToken=4) at source/svhtml/parhtml.cxx:362
#17 0x0000000801c69983 in HTMLParser::CallParser() (this=0x80dc99510) at
source/svhtml/parhtml.cxx:344
#18 0x000000080443db30 in EditHTMLParser::CallParser(ImpEditEngine*, EditPaM
const&) (this=0x80dc99510, pImpEE=<optimized out>, rPaM=<optimized out>) at
source/editeng/eehtml.cxx:101
#19 0x000000080446f039 in ImpEditEngine::ReadHTML(SvStream&, String const&,
EditSelection, SvKeyValueIterator*) (this=this@entry=0x81d5b9010, rInput=...,
rBaseURL=..., aSel=..., pHTTPHeaderAttrs=pHTTPHeaderAttrs@entry=0x813c519e0)
    at source/editeng/impedit4.cxx:209
#20 0x000000080446eb30 in ImpEditEngine::Read(SvStream&, String const&,
EETextFormat, EditSelection, SvKeyValueIterator*) (this=0x81d5b9010,
rInput=..., rBaseURL=..., eFormat=EE_FORMAT_HTML, aSel=...,
pHTTPHeaderAttrs=0x813c519e0)
    at source/editeng/impedit4.cxx:111
#21 0x0000000804425cfb in EditEngine::Read(SvStream&, String const&,
EETextFormat, SvKeyValueIterator*) (this=0x813d7acf0, rInput=..., rBaseURL=...,
eFormat=EE_FORMAT_HTML, pHTTPHeaderAttrs=0x813c519e0)
    at source/editeng/editeng.cxx:1352
#22 0x000000081328d498 in ScHTMLLayoutParser::Read(SvStream&, String const&)
(this=0x81d62ba50, rStream=..., rBaseURL=...) at
source/filter/html/htmlpars.cxx:173
#23 0x0000000813297c37 in ScEEImport::Read(SvStream&, String const&)
(this=0x813d10500, rStream=..., rBaseURL=...) at
source/filter/rtf/eeimpars.cxx:98
#24 0x000000080ea1d623 in ScImportExport::HTML2Doc(SvStream&, String const&)
(this=this@entry=0x7fffffffce40, rStrm=..., rBaseURL=...) at
source/ui/docshell/impex.cxx:2013
#25 0x000000080ea1b543 in ScImportExport::ImportStream(SvStream&, String
const&, unsigned long) (this=0x7fffffffce40, rStrm=..., rBaseURL=...,
nFmt=<optimized out>) at source/ui/docshell/impex.cxx:472
#26 0x000000080ea626c1 in ScViewFunc::PasteDataFormat(unsigned long,
com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable>
const&, short, int, Point*, unsigned char, unsigned char)
    (this=0x80af4d890, nFormatId=51, rxTransferable=..., nPosX=0,
nPosY=<optimized out>, pLogicPos=0x0, bLink=0 '\000', bAllowDialogs=1 '\001')
at source/ui/view/viewfun5.cxx:319
#27 0x000000080ea5d144 in ScViewFunc::PasteFromSystem(unsigned long, unsigned
char) (this=this@entry=0x80af4d890, nFormatId=nFormatId@entry=51,
bApi=bApi@entry=0 '\000') at source/ui/view/viewfun3.cxx:809
#28 0x000000080ea5b1ee in ScViewFunc::PasteFromSystem() (this=0x80af4d890) at
source/ui/view/viewfun3.cxx:657
#29 0x000000080eaf39a9 in ScCellShell::PasteFromClipboard(ScViewData*,
ScTabViewShell*, bool) (pViewData=0x80af4d898,
pTabViewShell=pTabViewShell@entry=0x80af4d810, bShowDialog=<optimized out>) at
source/ui/view/cellsh1.cxx:2184

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are on the CC list for the issue.

Reply via email to