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

--- Comment #1 from Henrry John <[email protected]> ---
Personal insights of the matters:

The crash appears to occur before any opportunity for manual or automatic
cleanup processes. Since the object instance is declared outside the scope of
any subroutines or functions, both manual cleanup (using `Nothing`) and
automatic cleanup via garbage collection might not be triggered. This lack of
cleanup could lead to a memory leak, possibly explaining the unresponsiveness
and crash of all LibreOffice instances and the sudden spike in memory usage.

In situations where crashes happen during the instantiation phase,
understanding how the BASIC interpreter allocates and manages memory for class
objects, especially when declared globally or at a module level, becomes
crucial.

It's important to note that these insights are speculative, providing a
hypothesis for consideration. The real root cause may lie elsewhere in the
handling of class objects within the LibreOffice BASIC interpreter. Further
analysis of the interpreter's internals is necessary for a conclusive
understanding of the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to