Created attachment 132452 [details] File with pivot table having everything in row field Attempt to create pivot chart on provided file results in a crash.
Works also when data and all fields are in column ...
With everything in Column, deactivating totals fixes the bug, but that doesn't work when everything is in Rows.
Confirmed. @Tomaž: one for you.. In sc/source/ui/unoobj/PivotTableDataProvider.cxx sc::PivotTableDataProvider::collectPivotTableData() aDataFieldNamesVectors[i] with i=28 is tried to be accessed, where aDataFieldNamesVectors has only 28 elements.
.
Created attachment 132615 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce this. I attached bt + debug symbols and other traces before the crash. I noticed that m_aLabels is filled only in case sheet::DataPilotFieldOrientation_COLUMN case
Tomaž Vajngerl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9d991e69e3103145d655123b464cc806ee4cc3f4 tdf#107072 fix crash when only a row and data fields are present It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I confirmed it's fixed with master sources updated yesterday. Thank you Tomaž!