Bug 141705 - assertion in BigPtrArray::operator[]: `idx < m_nSize'
Summary: assertion in BigPtrArray::operator[]: `idx < m_nSize'
Status: RESOLVED WORKSFORME
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-12-16 04:19 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 Comment hidden (obsolete)
Comment 5 QA Administrators 2024-12-16 03:17:28 UTC
Dear Terrence Enger,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp