Skip to content

Assertions failed when console is shown in LO debug build

In LO master (Version: 6.2.0.0.alpha0+ (x64) Build ID: d4539c92cb922d16629c00e8e3517f2cbc3e1ff4 CPU threads: 12; OS: Windows 10.0; UI render: default; VCL: win; Locale: ru-RU (ru_RU); Calc: threaded):

  1. Tools->Macros->Organize python scrypts (Alt+Shift+F11)
  2. Menu->Python shell

The console is shown - with APSO welcome text, but without the ">>>" prompt, and immediately this dialog pops up:


Microsoft Visual C++ Runtime Library

Assertion failed!

Program: C:\lo\src\core\instdir\program\sal3.dll File: c:\lo\src\core\sal\rtl\strtmpl.cxx Line: 1540

Expression: nIndex >= 0 && nIndex <= pStr->length

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

Abort Retry Ignore

If I choose "Ignore", a series of other assertion failures are fired, after which the ">>>" is shown, and I can interact with the console. But executing any command there repeats the assertion sequence before each part of output.

APSOAssert

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information