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

            Bug ID: 170395
           Summary: internal warnings and exceptions loading document with
                    macros
           Product: LibreOffice
           Version: 26.8.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Attached is a spreadsheet ("demo.ods") which causes lo to emit 2000+ lines of
warnings to the console when the document is loaded WITH MACROS DISABLED.

For example

xmloff.core:565927:565927:xmloff/source/core/xmlimp.cxx:574:
DBG_UNHANDLED_EXCEPTION in load
    when: exception getting BuildId exception:
com.sun.star.container.NoSuchElementException

legacy.osl:565927:565927:svx/source/accessibility/AccessibleControlShape.cxx:614:
AccessibleControlShape::disposing: this should never happen!

legacy.osl:565927:565927:sc/source/ui/view/tabvwshh.cxx:235: no accessibility
broadcaster?

and many others.

The file has some complicated Basic macros, but since macros are completely
disabled this should make no difference.   Nothing I can write in BASIC should
be able to cause internal errors, even if executed.  And in this case nothing
is executed - the file is merely loaded.

The file also has some controls (buttons), which trigger events.  But since
macro execution is disabled, no such event should do anything.  And anyway, I
did not press any of the buttons -- the warnings appear the moment the file is
loaded.



Steps to Reproduce:
1. /path/to/soffice --safe-mode
2. Click "Continue in Safe Mode" at the bottom of the first screen
3. File->Open... and select the attached "demo.ods"

Actual Results:
2000+ lines of warnings on the terminal -- see atached "terminallog.txt"

Expected Results:
No console output unless something is wrong


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I'm guessing something about the macros or controls in the spreadsheet triggers
a bug which cascades into many subsequent errors.


Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 691bcfb8ab158e907390e25eaa69ab4c60ce24de
CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to