<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash: "vector::_M_fill_insert" with large sumifs"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132431#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash: "vector::_M_fill_insert" with large sumifs"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132431">bug 132431</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>After some debugging on gdb I found a code pointer.
6056 // initialize temporary result matrix
6057 if (vConditions.empty())
6058 vConditions.resize( nDimensionCols * nDimensionRows, 0);
See
<a href="https://opengrok.libreoffice.org/xref/core/sc/source/core/tool/interpr1.cxx?r=dbda099d#6058">https://opengrok.libreoffice.org/xref/core/sc/source/core/tool/interpr1.cxx?r=dbda099d#6058</a>
nDimensionCols = -42
Before this block:
nCol1=1 nCol2=1
6029 if (bRangeReduce)
6030 {
6031 nCol1 += nStartColDiff;
6032 nRow1 += nStartRowDiff;
6033
6034 nCol2 += nEndColDiff;
6035 nRow2 += nEndRowDiff;
6036 }
After:
nCol1=1 nCol2=-42</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>