Bug 126598 - Assertion error when inserting chart after editing another chart
Summary: Assertion error when inserting chart after editing another chart
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2019-07-29 13:20 UTC by Gabor Kelemen (allotropia)
Modified: 2021-08-15 21:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (10.19 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2019-07-29 13:20 UTC, Gabor Kelemen (allotropia)
Details
Backtrace saved from VS (7.13 KB, text/plain)
2019-07-29 13:20 UTC, Gabor Kelemen (allotropia)
Details
bt with debug symbols (13.49 KB, text/plain)
2019-07-29 18:53 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2019-07-29 13:20:18 UTC
Created attachment 153036 [details]
Example file

It is possible to get an assertion error in a debug build using the attached file:

1, Open the attached xlsx
2, Edit the first charts X axis settings
3, Close the editing, then select the A1:E5 range
4, Select Insert - Chart, the Chart Wizard opens and causes an assertion failure:

chartcontrollerlo.dll!chart::sidebar::`anonymous namespace'::getCID(const com::sun::star::uno::Reference<com::sun::star::frame::XModel> & xModel) Line 164
	at d:\libreoffice\core\chart2\source\controller\sidebar\chartaxispanel.cxx(164)
Comment 1 Gabor Kelemen (allotropia) 2019-07-29 13:20:49 UTC
Created attachment 153037 [details]
Backtrace saved from VS
Comment 2 Aron Budea 2019-07-29 13:57:25 UTC
Confirmed using LO 6.4.0.0.alpha0+ (a2e688bef51bdf9a8e2e59e34bef925b82096e69) / Ubuntu 19.04.

This is the assert:
isPanel.cxx:165: rtl::OUString chart::sidebar::{anonymous}::getCID(const com::sun::star::uno::Reference<com::sun::star::frame::XModel>&): Assertion `aAny.hasValue()' failed.
Comment 3 Julien Nabet 2019-07-29 18:53:30 UTC
Created attachment 153047 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 4 QA Administrators 2021-07-29 04:31:03 UTC Comment hidden (obsolete)
Comment 5 Aron Budea 2021-08-07 16:02:59 UTC
Not reproduced in a recent main build, please retest and confirm if that's the case for you as well.
Comment 6 Julien Nabet 2021-08-15 21:40:06 UTC
Indeed, on pc Debian x86-64 with master sources updated today, I don't reproduce this.
Gabor: don't hesitate to reopen this tracker if you still reproduce this.