Bug 151535 - FILESAVE After change of Sheet Name referenced by moving average curve results in Crash
Summary: FILESAVE After change of Sheet Name referenced by moving average curve result...
Status: RESOLVED DUPLICATE of bug 146068
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL: https://crashreport.libreoffice.org/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-15 03:15 UTC by peter.luke.au
Modified: 2023-10-19 09:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: ["chart::MovingAverageRegressionCurveCalculator::calculateValuesCentral(std::pair<std::vector<double,std::allocator<double> >,std::vector<double,std::allocator<double> > >)"]


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter.luke.au 2022-10-15 03:15:29 UTC
See https://crashreport.libreoffice.org/stats/crash_details/9cafd0f0-fc20-4cb2-8ee0-38527ab24957

Change of Sheet Name results in crash.
Comment 1 raal 2022-10-17 15:37:33 UTC
can you attach test file and write steps for reproduce crash? Thank you
Comment 2 peter.luke.au 2022-10-17 23:43:48 UTC
After looking at the crash report, I removed the Trend Line on a chart on a different Sheet that was referencing the Sheet that was renamed.

The problem disappeared.
Comment 3 Buovjaga 2023-02-22 12:04:32 UTC
(In reply to peter.luke.au from comment #2)
> After looking at the crash report, I removed the Trend Line on a chart on a
> different Sheet that was referencing the Sheet that was renamed.
> 
> The problem disappeared.

Ok, but can you still attach such a problematic example file?
Comment 4 peter.luke.au 2023-02-23 02:17:41 UTC
No longer have the file in question - it was Oct 22 after all.

Tried to recreate on different file - no success.
Comment 5 Stéphane Guillou (stragu) 2023-02-23 11:01:15 UTC
Can't reproduce on Linux.

Version: 7.4.5.1 / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I did notice that if a sheet that's referenced in a chart's data range is removed, the next sheet is referenced instead, and therefore the chart can change entirely depending on what data is in there. Maybe a crash when recalculating based on data that's not suitable for such a chart?
Comment 6 Buovjaga 2023-02-23 15:15:48 UTC
I mentioned this in the dev chat and Noel submitted a blind fix: 37751d878b87765a4d2cfb50d0a39280c585ece1
Comment 7 Stéphane Guillou (stragu) 2023-03-27 09:36:00 UTC
I also tested on Windows with:

Version: 7.4.6.1 (x64) / LibreOffice Community
Build ID: cf1691909b7b17c5e258d2635cae0072cf471be7
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

And could not reproduce.
Leaving open as it's the only ticket linked to this crash signature.
Comment 8 Stéphane Guillou (stragu) 2023-10-19 09:28:45 UTC
Noel's fix made it into 7.5.2.1 but we still get this crash signature in 7.5.2.2 and 7.5.3.2.
Nothing since then though.
Comment 9 Stéphane Guillou (stragu) 2023-10-19 09:44:24 UTC
Assumed fixed with Caolán's commit for bug 146068, spotted in the 7.5.4 list of fixes (same crash signature). Marking as duplicate.

*** This bug has been marked as a duplicate of bug 146068 ***