[Libreoffice-bugs] [Bug 132783] New: Calc CRASH when Ctrl+F

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 6 15:44:19 UTC 2020


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

            Bug ID: 132783
           Summary: Calc CRASH when Ctrl+F
           Product: LibreOffice
           Version: 6.4.4.1 rc
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kamlan at post.cz

Created attachment 160463
  --> https://bugs.documentfoundation.org/attachment.cgi?id=160463&action=edit
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

-- 
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/20200506/fa011518/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list