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

            Bug ID: 153323
           Summary: Assertion `(nLen == TextFrameIndex(COMPLETE_STRING)) ?
                    (nIdx.get() < rText.getLength()) : (nIdx + nLen).get()
                    <= rText.getLength()' failed
           Product: LibreOffice
           Version: 7.6.0.0 alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Keywords: haveBacktrace
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 105537

Created attachment 185063
  --> https://bugs.documentfoundation.org/attachment.cgi?id=185063&action=edit
GDB trace of crash

1. Open attachment 179678 with a debug build
2. CTRL+A
3. Change the font to something else from the toolbar
4. Edit -> track changes -> Manage
5. Press ALT+R to reject changes one by one

After a bunch of rejections (~8), it will crash (kf5, gtk3, gen).

sw/source/core/inc/drawfont.hxx:123: SwDrawTextInfo::SwDrawTextInfo(const
SwViewShell *, OutputDevice &, const SwScriptInfo *, const rtl::OUString &,
const TextFrameIndex, const TextFrameIndex, sal_uInt16, bool, const
vcl::text::TextLayoutCache *const): Assertion `(nLen ==
TextFrameIndex(COMPLETE_STRING)) ? (nIdx.get() < rText.getLength()) : (nIdx +
nLen).get() <= rText.getLength()' failed.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4c6c317e1743166ee772ab03413f0fa59c59f859
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 2 February 2023


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to