Bug 162434 - Getting OSL warning "Wrong index in AttrArray" in a debug build while selecting range in Calc
Summary: Getting OSL warning "Wrong index in AttrArray" in a debug build while selecti...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: possibleRegression
Depends on:
Blocks: Cell-Selection
  Show dependency treegraph
 
Reported: 2024-08-12 00:30 UTC by Rafael Lima
Modified: 2025-09-03 11:59 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace (6.17 KB, text/plain)
2024-08-12 00:30 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2024-08-12 00:30:28 UTC
Created attachment 195801 [details]
Backtrace

Steps to reproduce

1) On a debug build (current master) launch Calc from the terminal
2) Notice that the following warning will be shown whenever you select a range (f.i. Shift + Right)

warn:legacy.osl:91282:91282:sc/source/core/data/document.cxx:5520: Wrong index in AttrArray

I've attached a backtrace of the issue.

This problem started a few months ago.

System info

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 59cb37a210675d4269c2fcd48feeffe942538891
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 Julien Nabet 2024-08-12 07:25:49 UTC
On pc Debian x86-64 with master sources updated yesterday, I could reproduce this.
Comment 2 BogdanB 2024-12-25 12:08:32 UTC
I searched in gerrit for AttrArray and I get this:
https://gerrit.libreoffice.org/c/core/+/170354
Comment 3 Buovjaga 2025-09-03 09:19:12 UTC
Not reproduced in a debug build.

Rafael, Julien: can you still repro?

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 96f960b5d582774422987ea4b198c854d7220c4a
CPU threads: 16; OS: Linux 6.16; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 4 Julien Nabet 2025-09-03 11:32:42 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this with gtk3, gen and kf5 renderings.
Comment 5 Buovjaga 2025-09-03 11:59:58 UTC
Ok, let's maybe remove the bibisectRequest as bisecting would need to be done while building manually.