Apache OpenOffice (AOO) Bugzilla – Issue 121277
Calc crashes while generating a diagram
Last modified: 2017-05-20 11:41:47 UTC
When I try to generate a diagram from data of two rows Calc crashes without generating a failure report. The uploaded file contains several filters and except of two all other columns are hidden.
Created attachment 79822 [details] Data file which crashes Calc
*** Issue 121276 has been marked as a duplicate of this issue. ***
Hello Hans, I repdroduced in win 7 64 and I found the same problem. I going to confirm this bug and This will be verified Regards. Daniel Alvaro
How to reproduce on AOO 3.4/1 with Windows 7 (32-bit) 1) Load attached ODS document into Calc 2) Select the first two visible rows of data with your house, i.e., A1:F32 (Note that filters are enabled that are hiding many of the rows) 3) Menu: Insert/Chart. AOO crashes immediately and presents the document recovery dialog.
ALG: Taking a look. Also crashes when not selecting the labels. Seems to have to do with getting chart visualization early, but maybe also simply a chart bug.
ALG: Indeed a chart bug, in ChartView::createShapes() the usage of lcl_getExplicitSimpleCategories (used during AxisLabel creation) contained some cases where accesses to non-existing stl::vector entries could happen (and did happen) under these circumstances. Fixing this solves the crash and creates the correct chart. Checking some more (chart types, scenarios), preparing commit...
ALG: Okay, comitted, done.
grant showstopper flag to get clear status, already fixed
It's verified fixed in revision 1499347