Description: A graph plotted from the table data will crash if Data range is set and clears the table data used for the graph. Steps to Reproduce: 1: Create a table with random data 2: Create a chart from it. 3: Set the Data range. 4: Delete the table. 5: Double-click on the chart. Actual Results: The system crashes. Expected Results: There is no crash. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5a235634ca5761aa4b330ebf7e3a2083b7db1606 CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL threaded
Created attachment 185615 [details] Test file
Missing step to reproduce: 6. Choose Data Ranges... in the context menu. Note: if the build doesn't contain to fix for tdf#153858, don't use the mouse after the click, only the key for the context menu to avoid of the crash related to the mouse moving over the edited chart.
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e706698353a7187f46ddbf0faf1f6f7772753df6 tdf#153859 sw: crash fix for setting chart with deleted data table It will be available in 7.6.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
László Németh committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/ad3fe5c2e71deb7cd51d40549331371022cfb3b4 tdf#153859 sw: crash fix for setting chart with deleted data table It will be available in 7.5.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.