[Libreoffice-bugs] [Bug 104865] FILTER : Calc Macro hangs when CopyOutputData = True

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 24 15:34:17 UTC 2020


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

--- Comment #11 from Andreas Heinisch <andreas.heinisch at yahoo.de> ---
I investigated the error and I am not 100% sure what causes the problem:

The problem starts in
https://opengrok.libreoffice.org/xref/core/sc/source/core/data/table2.cxx?r=8cad1620#3825
when nCol reaches the value 64. Then LO enters
ScCellValue::release(https://opengrok.libreoffice.org/xref/core/sc/source/core/data/cellvalue.cxx?r=ca16def2#487)
and ScColumn::DeleteContent(
https://opengrok.libreoffice.org/xref/core/sc/source/core/data/column3.cxx?r=a9753917&fi=DeleteContent#120). 

The line sc::CellStoreType::position_type aPos = maCells.position(nRow); fails
with a call to:

template<typename _CellBlockFunc, typename _EventFunc>
typename multi_type_vector<_CellBlockFunc, _EventFunc>::position_type
multi_type_vector<_CellBlockFunc, _EventFunc>::position(size_type pos)
{
    if (pos == m_cur_size)

where pos = 140715552002943 and m_cur_size = 208.

HOWEVER, if I'll wait some seconds during the debug process, pos has always the
correct value of 0 and the macro works.

Is there some timeout or resource waiting problem?

-- 
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/20200624/5788a336/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list