Crash on undoing masking of values
Requirements
-
I searched through the issues if the issue already exists
Steps to reproduce
- Open the project file: bars_comp_002.lml
- Mask the first row in the spreadsheet.
- Undo the masking.
Expected
LabPlot shouldn't crash on undoing the of masking values.
Observed
LabPlot crashes on undoing the masking of values in the project file.
I checked two other scenarios and undoing masking works for 1. values in a spreadsheet without a plot and 2. for a spreadsheet with values included in a histogram or in a xy-curve. For some reason LabPlot crashes with this project file.
LabPlot Version
Debug build
System: Ubuntu 24.04 LTS
Locale: English,United States (Decimal point ',', Group separator ' '
Number settings: Decimal point ',', Group separator ' ', Exponential 'e', Zero digit '0', Percent '%', Positive/Negative sign '+'/'-' (Updated on restart)
Architecture: x86_64-little_endian-lp64
Kernel: linux 6.8.0-36-generic
C++ Compiler: GNU 13.2.0
C++ Compiler Flags: -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=/build/labplot-HhBN0R/labplot-2.10.1+git202406300147~ubuntu24.04.1=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -Wall -Wextra -Wundef -Wpointer-arith -Wunreachable-code -Wunused -Wdeprecated-declarations -fno-omit-frame-pointer -fstack-protector -fexceptions -std=c++17 -O2 -Wcast-align -Wswitch-enum -fvisibility=default -pedantic -Wzero-as-null-pointer-constant