[Libreoffice-bugs] [Bug 144183] New: Basic IDE hangs after several error messages
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 30 12:22:32 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=144183
Bug ID: 144183
Summary: Basic IDE hangs after several error messages
Product: LibreOffice
Version: 7.2.0.4 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: mikekaganski at hotmail.com
CC: noelgrandin at gmail.com
Created attachment 174638
--> https://bugs.documentfoundation.org/attachment.cgi?id=174638&action=edit
Test file with a sub calling another module's method
In 7.2 and master, the following sequence fails:
1. Define a module in a Basic shared library, containing a sub with an error:
Library "Standard" under "My Macros and Dialogs", Module "TestGlobalShared"
Option Explicit
Sub TestGlobalSub
MsgBox UndefinedVar
End Sub
2. In a document, define a Basic sub calling the said sub with error:
Document "TestGlobalSub.ODT">Library "Standard">Module "Module1"
Option Explicit
Sub Main
TestGlobalShared.TestGlobalSub
End Sub
3. Repeat this:
3.1. Double-click on "Main" under the document's "Module1";
3.2. Press F5;
3.2. Close the error message in the shared library's sub with error.
Repeating step 3 starts slowing down after several cycles; it depends on the
could of modules shown in the IDE, but in the simplest case, when there are
only a few modules, I see *some* delay after 7-8 repeats; significant delay on
the next repeat; and huge delay on the next repeat. Repeating after that would
hang.
It looks like some quadratic algorithm in place. It is a regression after
commit
https://git.libreoffice.org/core/+/d47ac2ebdb495b025eb26e17cbbe2509797c31f0
(Noel: could you please take a look? Maybe somewhere a typo crept in?).
Also in debug build, the second repeat brings an assertion failed at
TabBar::InsertPage ("TabBar::InsertPage(): Page already exists").
--
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/20210830/eb320474/attachment.htm>
More information about the Libreoffice-bugs
mailing list