<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Calc CRASH when Ctrl+F"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132783">132783</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Calc CRASH when Ctrl+F
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.4.4.1 rc
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kamlan@post.cz
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=160463" name="attach_160463" title="Example for Crash">attachment 160463</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=160463&action=edit" title="Example for Crash">[details]</a></span>
Example for Crash
1) Open new file in Calc
2) Run this macro for set some data:
Sub setSomeData
const a1=100, a2=100
dim oDoc, oSheet, oRange, i&, j&, s$, p1(a1) as variant, p2(a2) as
string
oDoc=thisComponent
oSheet=oDoc.sheets.getByIndex(0)
for i=0 to a1 'rows for array
for j=0 to a2 'one row for array
s=j & " - " & i
p2(j)=s
next j
p1(i)=p2
redim p2(a2)
next i
oRange=oSheet.getCellRangeByPosition(0,0,a1,a2)
oRange.setDataArray(p1())
End Sub
3) Then press Ctrl+F and try to find something, for example: 1
Calc crash.
If you will run macro and then press for example Ctrl+A for select all (or some
other operation as delete some row or column), and then you press Ctrl+F for
finding, it will be OK and Calc will not crash.
The same operation you can do from attached file, run macro from menu CRASH and
then press Ctrl+F (or Ctrl+H) and try to find something and Calc will crash.
Verze: 6.4.4.1 (x64)
ID sestavení: b50bc319eca5cd5b66fbfe2ebd0d3bd1eed099b5
Vlákna CPU: 8; OS: Windows 10.0 Build 17763; Vykreslování UI: výchozí; VCL:
win;
Národní prostředí: cs-CZ (cs_CZ); Jazyk UI: cs-CZ
Calc: threaded</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>