Bug 376509

Summary: Crash during performing a linear fit of data
Product: [Applications] LabPlot2 Reporter: Peter G <peturgordon>
Component: generalAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.4
Attachments: Terminal output from start of program to crash

Description Peter G 2017-02-15 10:41:48 UTC
Created attachment 104042 [details]
Terminal output from start of program to crash

Labplot2 crashes when adding a linear fit to an x,y dataset

Step-by-step description to reproduce crash:
* Create project
* Create spreadsheet and enter x, y data
* Create worksheet, and add xy plot
* Add xy curve using x, y data above
* Select worksheet, click on Analysis/Data fitting from menu bar
* Select the x, y data to be fitted, select a linear fit (c0 + c1*x) and click recalculate
-> Program crashes
Comment 1 Peter G 2017-02-15 10:43:06 UTC
The crash occurs for version 2.3.0 of Labplot2, compiled from sources on a x64 Arch Linux system.
Comment 2 Alexander Semke 2017-02-15 11:08:26 UTC
This bug should be already fixed. Can you please try out with the current code being prepared now for the 2.4-release?
The repository link is shown on https://labplot.kde.org/download/

For the Qt4/kdelibs4-version of the application, checkout the master branch. For the Qt5/kf5-version checkout the frameworks branch. Thanks for giving it a try.
Comment 3 Peter G 2017-02-15 13:27:06 UTC
Thanks for the info. I built the 2.4 frameworks version, and the bug has indeed been resolved.

Thanks for making this great software!

-Peter
Comment 4 Alexander Semke 2017-02-15 13:44:24 UTC
Peter, thank you for validating the fix.