Created attachment 147127 [details] kcrash file SUMMARY Creating empty list will (sometimes) crash Cantor. This is not a predictable behavior, sometimes it will happen and sometimes it won't. Thus, STEPS TO REPRODUCE 1. create variable assigned to c(). For example: l = c() OBSERVED RESULT Cantor crashes EXPECTED RESULT It should create the list and register it in the variable manager. SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 5.24.2 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.10-arch1-1 (64-bit) Graphics Platform: X11 Processors: 2 × Intel® Celeron® N4000 CPU @ 1.10GHz Memory: 7,6 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 600
Git commit 62a6356d49806d73b3387ee83bb7c8e6ea316c3d by Alexander Semke. Committed on 26/02/2022 at 17:19. Pushed by asemke into branch 'master'. [R] properly handle the case in the variable model when there is no variable value for a given variable name (e.g. 'l = c()'). FIXED-IN: 22.03 M +7 -2 src/backends/R/rvariablemodel.cpp https://invent.kde.org/education/cantor/commit/62a6356d49806d73b3387ee83bb7c8e6ea316c3d
*** Bug 452046 has been marked as a duplicate of this bug. ***