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

            Bug ID: 158862
           Summary: LibreOffice crashes when attempting to inspect a UNO
                    object in the Watch Window during debugging after
                    successful initial inspection.
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jem203...@gmail.com

Description:
After successfully running the provided Basic subroutine, the LibreOffice
application allows for the initial inspection of the UNO object (textDoc) in
the Watch Window. The variable `textDoc`, its value, and type
("com.sun.star.text.TextDocument") are visible. However, attempting to perform
a deeper inspection, either by double-clicking the variable or clicking the
drop-down option, results in a consistent crash of LibreOffice. The crash
occurs specifically during attempts to inspect the variable further. The issue
persists even after restarting LibreOffice, resetting the user profile, and
running in Safe Mode.

Steps to Reproduce:
1.Open LibreOffice and create a new Basic module.
2.Add the following Basic subroutine:
`Sub Example
    Dim textDoc As Object : textDoc =
CreateUnoService("com.sun.star.text.TextDocument")
End Sub`
3.Compile and execute the subroutine successfully.
4. Set a breakpoint at the `End Sub` line.
5. Debug the subroutine and observe the `textDoc` object in the Watch Window.
6. Double-click the `textDoc` variable or click the drop-down option to inspect
the `textDoc` object further.

Actual Results:
LibreOffice allows for the initial inspection of the `textDoc` object in the
Watch Window, displaying the variable's value and type. However, attempting to
perform a deeper inspection by double-clicking the variable or clicking the
drop-down option results in a crash of LibreOffice.

Expected Results:
The Watch Window should allow both initial and deeper inspection of the
`textDoc` object without causing LibreOffice to crash.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 20; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_US); UI: en-GB
Calc: CL threaded

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

Reply via email to