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

            Bug ID: 147705
           Summary: CRASH when pressing compose key
           Product: LibreOffice
           Version: 7.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: hamish...@protonmail.com

Description:
In Calc, Draw, Impress, Math and Writer (don't use other components), pressing
the system compose key crashes LibreOffice

Steps to Reproduce:
1.Define any compose key in KDE system settings (tested using CapsLock, AltGr)
2.Open any new or existing file in Calc, Draw, Impress, Math or Writer
3.(Draw only) Create a text box to enable text entry
4.(Impress only) Click into "Click to add Title/Text" field
5.Press compose key

Actual Results:
LibreOffice crashes to desktop, then automatically restarts with Document
Recovery. Calc/Draw/etc runs normally again once recovery is complete

Expected Results:
Allow to complete composing of special characters (or if compose is
unsupported, nothing)


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.5.2.0+ / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
7.2.5-4
Calc: threaded

Compose key works normally in other programs (tested in Konsole, Kate, Firefox,
Zoom)
Insert > Special character works normally

If LibreOffice was started from a console, it always prints exactly the
following to the console as it crashes:

 /usr/include/c++/11.2.0/bits/stl_vector.h:1045: std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp,
_Alloc>::size_type) [with _Tp = ExtTextInputAttr; _Alloc =
std::allocator<ExtTextInputAttr>; std::vector<_Tp, _Alloc>::reference =
ExtTextInputAttr&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]:
Assertion '__n < this->size()' failed.

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

Reply via email to