Bug 149159 - assertion fails in debug build when inserting shape into chart
Summary: assertion fails in debug build when inserting shape into chart
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2022-05-18 20:15 UTC by Regina Henschel
Modified: 2024-11-15 12:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with chart (14.60 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-05-18 20:15 UTC, Regina Henschel
Details
Callstack by VS 2019 (6.35 KB, text/plain)
2022-05-18 20:16 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-05-18 20:15:59 UTC
Created attachment 180200 [details]
Document with chart

Open attached document.
Copy rectangle to clipboard
Double-click chart.
Insert rectangle from clipboard into chart ==> crash.

The debug build is Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 35d1c2e3906a64e54f25539bf229959203ac6526
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

The rectangle is inserted without problems in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 172e208e6b0674f42c301c5ee5e280e9138ba1b4
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 Regina Henschel 2022-05-18 20:16:56 UTC
Created attachment 180201 [details]
Callstack by VS 2019
Comment 2 Telesto 2022-05-19 00:48:12 UTC
Confirm
Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 7e2d26ef0ed47bf01d7396aa7c749062f9bdde98
CPU threads: 8; OS: Mac OS X 12.3.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

    frame #4: 0x000000010463ac1e libsvllo.dylib`SfxItemSet::SfxItemSet(this=0x000000018e0f7db8, pool=0x0000600004d1b420, wids=0x0000600017430768, items=0) at itemset.cxx:85:5
   82  	    m_nCount(0),
   83  	    m_bItemsFixed(false)
   84  	{
-> 85  	    assert(wids.size() != 0);
   86  	    assert(svl::detail::validRanges2(m_pWhichRanges));
   87  	}
   88  	
Target 0: (soffice) stopped.
Comment 3 Julien Nabet 2024-05-18 14:01:05 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce this.

Perhaps all the Armin's work about itemset helped here?
Regina/Telesto: would it be possible one of you give a new try with a build from master branch?
Comment 4 QA Administrators 2024-11-15 03:16:57 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2024-11-15 12:46:22 UTC
It is OK in a build from current master.