Bug 507885

Summary: Crash when creating datasheet
Product: [Applications] LabPlot2 Reporter: andreas.helzel
Component: generalAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: 2.12.0   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 12.12.1
Sentry Crash Report:

Description andreas.helzel 2025-08-05 07:40:51 UTC
SUMMARY
When creating a datasheet from a plot without datasheet labplot crashes. E.g. after having approximated or differentiated another plot and then creating the datasheet to the plot of the approximation or differentiation.

STEPS TO REPRODUCE
1. Start Labplot flatpak
2. Now you need data to plot (e.g. generate data for 1[x]-column as equidistant numbers 0.1 to 10 and 2[y] as function f(x)=x^2)
3. Plot 2[Y] versus 1[X].
4. Analyze it to create a new plot that does not have a datasheet, yet. (e.g. analyze -> differentiate)
5. Now create a datasheet from this new plot.

OBSERVED RESULT
crash


SOFTWARE/OS VERSIONS
Flatpak LabPlot 2.12
OS: Fedora 42 and Debian Bookworm
DE: Gnome with Wayland
Comment 1 Alexander Semke 2025-08-05 20:01:51 UTC
(In reply to andreas.helzel from comment #0)
> SUMMARY
> When creating a datasheet from a plot without datasheet labplot crashes.
> E.g. after having approximated or differentiated another plot and then
> creating the datasheet to the plot of the approximation or differentiation.
> 
> STEPS TO REPRODUCE
> 1. Start Labplot flatpak
> 2. Now you need data to plot (e.g. generate data for 1[x]-column as
> equidistant numbers 0.1 to 10 and 2[y] as function f(x)=x^2)
> 3. Plot 2[Y] versus 1[X].
> 4. Analyze it to create a new plot that does not have a datasheet, yet.
> (e.g. analyze -> differentiate)
> 5. Now create a datasheet from this new plot.
> 
> OBSERVED RESULT
> crash
> 
Thank you for reporting this issue. It was reported recently and we fixed it already. The fix is going to be part of the next patch release 2.12.1 that we plan to announce soon. If you need the fix earlier, you can give our current development version a try that is available on our download page.

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