<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILTER : Calc Macro hangs when CopyOutputData = True"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=104865#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILTER : Calc Macro hangs when CopyOutputData = True"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=104865">bug 104865</a>
from <span class="vcard"><a class="email" href="mailto:andreas.heinisch@yahoo.de" title="Andreas Heinisch <andreas.heinisch@yahoo.de>"> <span class="fn">Andreas Heinisch</span></a>
</span></b>
<pre>I investigated the error and I am not 100% sure what causes the problem:
The problem starts in
<a href="https://opengrok.libreoffice.org/xref/core/sc/source/core/data/table2.cxx?r=8cad1620#3825">https://opengrok.libreoffice.org/xref/core/sc/source/core/data/table2.cxx?r=8cad1620#3825</a>
when nCol reaches the value 64. Then LO enters
ScCellValue::release(<a href="https://opengrok.libreoffice.org/xref/core/sc/source/core/data/cellvalue.cxx?r=ca16def2#487">https://opengrok.libreoffice.org/xref/core/sc/source/core/data/cellvalue.cxx?r=ca16def2#487</a>)
and ScColumn::DeleteContent(
<a href="https://opengrok.libreoffice.org/xref/core/sc/source/core/data/column3.cxx?r=a9753917&fi=DeleteContent#120">https://opengrok.libreoffice.org/xref/core/sc/source/core/data/column3.cxx?r=a9753917&fi=DeleteContent#120</a>).
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>