Bug 170395 - internal warnings and exceptions loading document with macros
Summary: internal warnings and exceptions loading document with macros
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
26.8.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-20 05:24 UTC by Jim Avera
Modified: 2026-02-04 03:22 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
demo.ods (see steps to reproduce) (602.96 KB, application/vnd.oasis.opendocument.spreadsheet)
2026-01-20 05:24 UTC, Jim Avera
Details
terminallog.txt -- result of .../soffice --safe-mode 2>&1 | tee terminallog.txt (245.40 KB, text/plain)
2026-01-20 05:25 UTC, Jim Avera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2026-01-20 05:24:03 UTC
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
Comment 1 Jim Avera 2026-01-20 05:24:28 UTC
Created attachment 205096 [details]
demo.ods (see steps to reproduce)
Comment 2 Jim Avera 2026-01-20 05:25:14 UTC
Created attachment 205097 [details]
terminallog.txt -- result of  .../soffice --safe-mode 2>&1 | tee terminallog.txt
Comment 3 Jim Avera 2026-01-20 05:30:05 UTC
I forgot to mention, this spreadsheet was most recently updated using version 7.6.3.0, so any import filter issues might be due to incompatibility with that version.

The spreadsheet was originally created long ago using, I think v6.x