Bug 162147 - duplicate sheet with Pivot chart and change filter, LO crashes
Summary: duplicate sheet with Pivot chart and change filter, LO crashes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks: Pivot-Chart Crash
  Show dependency treegraph
 
Reported: 2024-07-22 16:37 UTC by raal
Modified: 2024-09-16 02:38 UTC (History)
4 users (show)

See Also:
Crash report or crash signature: ["chart::ChartTypeTemplate::changeDiagramData(rtl::Reference<chart::Diagram> const&, com::sun::star::uno::Reference<com::sun::star::chart2::data::XDataSource> const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2024-07-22 16:37:31 UTC
Description:
When I duplicate sheet with Pivot chart and change filter, LO crashes.

Steps to Reproduce:
- Create a document with data in one sheet, and a pivot-table + pivot-chart in another sheet; or open attachment 195119 [details] 
- Right-click the pivot-table+chart sheet, and duplicate it 
- On the new sheet click on Status filter in the Pivot table, deselect All and select one or more items.
- Click OK.

Actual Results:
Crash

Expected Results:
No Crash


Reproducible: Always


User Profile Reset: No

Additional Info:
Reproduced in Version: 7.0.0.0.beta1+
Build ID: c344de1b9985b6ca10b354e24151d0bdf92dc20e
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2afdc61dd3138b383fb73dae2242ba1a9c8de901
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 1 raal 2024-07-22 16:38:14 UTC
Probably Linux only https://bugs.documentfoundation.org/show_bug.cgi?id=162127#c4
Comment 2 m_a_riosv 2024-07-22 20:50:43 UTC
Reproducible
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ba0e0093b0ed2816a18e54eef0a92220d7b04a4d
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Stéphane Guillou (stragu) 2024-07-24 06:41:27 UTC
Also reproduced in 5.4.0.2.

Crash reports:
- 6.0.0.3 with signature "chart::ChartModel::modified(com::sun::star::lang::EventObject const&)": https://crashreport.libreoffice.org/stats/crash_details/927bbbed-2c76-4122-9c76-e7dc7c823fbb
- 7.0.0.3 with signature "chart::ChartModel::modified": https://crashreport.libreoffice.org/stats/crash_details/a30899bb-7c66-4e2f-b567-c66da9dd5e38
- 7.6.7.2 with signature "chart::ChartTypeTemplate::changeDiagramData(rtl::Reference<chart::Diagram> const&, com::sun::star::uno::Reference<com::sun::star::chart2::data::XDataSource> const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)": https://crashreport.libreoffice.org/stats/crash_details/6e486cd7-3a14-4bd2-8cd5-7996f971620f

I assume it was like that since the control was implemented. 5.3.0.3 does not display the original chart.