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

            Bug ID: 90675
           Summary: LO Calc crushes calculating difficult BASIC function
           Product: LibreOffice
           Version: 4.4.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: v_...@ukr.net

Created attachment 114858
  --> https://bugs.documentfoundation.org/attachment.cgi?id=114858&action=edit
It is the problematic workbook.

Dear Developers!
After upgrading to 4.4.2.2 LO Calc starts to crash any time I open my workbook.
One of the columns (BP) may calculate a BASIC function (DELTAT1) that solves an
equation (Dteqn). This procedure is not so quick but before upgrading it was
not cause any problem. Now it crashes after opening. No messages running LO
from a terminal.
For the test I include LOG file recording to the basic code (commented in the
attachment. Please open LO Basic and uncomment if You want to create it. Tested
on Ubuntu. The destination folder is the home folder). The behavior is unusual.
It runs my solver (Deltat1) first time, performs only 2 iterations and run the
solver again for a different cell. The second level run performs all required
iterations, find a solution and returns. But the first run does not continue
and LO Calc crashes without any message or APPORT call.
I found only one workaround. Open this workbook and disable macros. Edit the
module and cut-paste it to a text file. Save and close. Open it, enable macros.
Because of missing macros some cells contain errors. Edit the module and past
the code back. Manually edit cells in BP column to add and remove a space in
the formula. It performs without any error. After that I can open the workbook
only some times. And the problem reappears...

How to reproduce

1. Save and close all documents (if opened)!!!
2. Run the attached workbook. Enable macros. If this bug affect You the LO Calc
will close.

Tested on Lenovo Ideapad Z580A with Core I7 processor 2,9 GHz.

-- 
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