Bug 507708

Summary: LabPlot2 on Windows 64 closes if Create Data Spreadsheet option is choosen.
Product: [Applications] LabPlot2 Reporter: P Ghosh <PxGhosh>
Component: generalAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED DUPLICATE    
Severity: grave    
Priority: NOR    
Version First Reported In: 2.12.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Containes two columns of decimal numbers separated by tab.

Description P Ghosh 2025-07-31 19:10:28 UTC
Created attachment 183690 [details]
Containes two columns of decimal numbers separated by tab.

SUMMARY
Imported two columns (x, y) data from an ASCII file in an existing or a new spreadsheet. 
Chosen Analyze and Plot > Smooth option from the pop-up menu. New Plot Area in New Workbook.
From the Tree of the Plot Area, chosen Smoothening ... > Create Data Spreadsheet.
LabPlot2 try's to do something and then closes abruptly.

STEPS TO REPRODUCE
1. Import the attached text file to the default blank Spreadsheet or to a new one.
2. Use Analyze & Plot > Smooth. Chose any location for the plot (say New Plot Area in New Worksheet)
3. Expand the Plot Area Tree and then right-click on the "Smoothening of ..". Choose "Create Data Spreadsheet".

OBSERVED RESULT
LabPlot2 closes abruptly without any error message or warning.

EXPECTED RESULT
A new spreadsheet containing the smoothed version of the data.

SOFTWARE/OS VERSIONS
Windows: Windows 64 bit 10 & 11

ADDITIONAL INFORMATION
Comment 1 Alexander Semke 2025-08-02 10:34:07 UTC

*** This bug has been marked as a duplicate of bug 504662 ***
Comment 2 Alexander Semke 2025-08-02 10:36:01 UTC
(In reply to P Ghosh from comment #0)
> Created attachment 183690 [details]
> Containes two columns of decimal numbers separated by tab.
> 
> SUMMARY
> Imported two columns (x, y) data from an ASCII file in an existing or a new
> spreadsheet. 
> Chosen Analyze and Plot > Smooth option from the pop-up menu. New Plot Area
> in New Workbook.
> From the Tree of the Plot Area, chosen Smoothening ... > Create Data
> Spreadsheet.
> LabPlot2 try's to do something and then closes abruptly.
> 
> STEPS TO REPRODUCE
> 1. Import the attached text file to the default blank Spreadsheet or to a
> new one.
> 2. Use Analyze & Plot > Smooth. Chose any location for the plot (say New
> Plot Area in New Worksheet)
> 3. Expand the Plot Area Tree and then right-click on the "Smoothening of
> ..". Choose "Create Data Spreadsheet".
> 
> OBSERVED RESULT
> LabPlot2 closes abruptly without any error message or warning.
> 
> EXPECTED RESULT
> A new spreadsheet containing the smoothed version of the data.

Thank you for reporting this issue. It 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.