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

            Bug ID: 93409
           Summary: Memory leak when setting cell value from a macro
           Product: LibreOffice
           Version: 5.0.0.5 release
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: gmi...@gmail.com

Created attachment 117890
  --> https://bugs.documentfoundation.org/attachment.cgi?id=117890&action=edit
crash popup message

This bug was reported by my customer for LibO Calc 5.0.0.5 on MS Windows
platform. 

I tested it in a daily build 5.1.0.0.alpha1+ Build ID:
9ef671364ff9fbb552a5433053af9283d12d90c7 on Linux platform, and it seems to be
reproducible there as well. I saw increasing memory usage by soffice process,
using 'ps' tool. My customer reports that LibO crashes when all memory goes
away, reporting an com.sun.star.uno.RuntimeException, screen shot attached

I tested on Version: 4.4.5.2 Build ID: 4.4.5.2 Arch Linux build-1 and I do
_not_ observe the issue there (ps command doesn't show that memory usage by
soffice increases).

Steps to reproduce:

1. Launch LibO calc
2. create following macro:
Sub Main
  Sheet = thisComponent.Sheets("Sheet1")
  For i =0 to 10000000
      dann ="42202705"
      Sheet.getCellByPosition(0, 0).String = dann & "   i=" & i
  Next i
End Sub
3. run the macro
4. observe memory usage with 
ps -aef |grep soffice

in some time RAM goes out and LibO crashes

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to