Bug 141705 - assertion in BigPtrArray::operator[]: `idx < m_nSize'
Summary: assertion in BigPtrArray::operator[]: `idx < m_nSize'
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2021-04-15 15:29 UTC by Terrence Enger
Modified: 2024-11-15 03:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
backtrace with symbols (16.51 KB, text/plain)
2021-04-15 15:29 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terrence Enger 2021-04-15 15:29:20 UTC
Created attachment 171224 [details]
backtrace with symbols

This bug will be apparent only in --enable-dbgutil builds.

STR

(1) Download comp.zip
    <https://bugs.documentfoundation.org/attachment.cgi?id=166615>
    attached to bug 137592

(2) Unpack comp.zip

(3) Open control/variantA/AffectedDocument.odt.

(4) At prompt "... update all links ... ?", click <Yes>.

    Observed:  LibreOffice exits with message (rewrapped):

        soffice.bin: /home/terry/lo_hacking/git/libo6/sw/source/core/bastyp/
            bparr.cxx:84:
            BigPtrEntry* BigPtrArray::operator[](sal_uLong) const:
            Assertion `idx < m_nSize' failed.

The backtrace is from commit f3b6fd1f (2021-03-16), configured
    --with-vendor=Terrence Enger
    --with-jdk-home=/usr/lib/jvm/default-java
    --enable-split-debug
    --enable-gdb-index
    --enable-ld=gold
    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-debug
    --without-system-postgresql
    --without-myspell-dicts
    --with-extra-buildid
    --without-doxygen
    --with-external-tar=/home/terry/lo_hacking/git/src
    --without-package-format
built and running on debian-buster.

Based on https://bugs.documentfoundation.org/show_bug.cgi?id=137592#c7
I am setting version 4.3.0.4 release.

Bug 88454 reports the same assertion.  It is in a different context,
so I am creating a new bug report.  However, the presence to tables in
both test cases may or may not suggest something
Comment 1 Julien Nabet 2021-04-17 07:59:49 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this with this same exact bt.
Comment 2 Julien Nabet 2021-04-17 08:07:21 UTC
BTW, m_nSize = 48 that's why the assert triggers since idx = 48
Comment 3 Julien Nabet 2024-05-18 16:27:58 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce this anymore.

Terrence: could you give a try with a recent build from master sources?
Comment 4 QA Administrators 2024-11-15 03:16:56 UTC
Dear Terrence Enger,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping