SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Version 5.115.0 Qt Version: Qt Version 5.15.12 (built against 5.15.12) Friedrichsmeier, T. & the RKWard Team (2022). RKWard: Frontend to the R statistics language. Version 0.7.5. https://rkward.kde.org ADDITIONAL INFORMATION ---Problem description--- Please fill in the missing bits *in English*. I encountered the error message quoted below. Additionally, I saw the following symptoms: ###Please fill in (if applicable)### What - in detail - did you do directly before you encountered this problem? ###Please fill in### When you try to repeat the above, does the problem occur again (no, sometimes, always)? ###Please fill in### If applicable: When doing the same thing in an R session outside of RKWard, do you see the same problem? ###Please fill in### Do you have any further information that might help us to track this problem down? In particular, if applicable, can you provide sample data and sample R code to reproduce this problem? ###Please fill in### RKWard is available in many different packagings, and sometimes problems are specific to one method of installation. How did you install RKWard (which file(s) did you download)? ###Please fill in### ---Error Message--- Message code: r_engine_has_died Connection closed unexpectedly. Last error was: QLocalSocket: Remote closed The R backend will be shut down immediately. This means, you can not use any more functions that rely on it. I.e. you can do hardly anything at all, not even save the workspace (but if you're lucky, R already did that). What you can do, however, is save any open command-files, the output, or copy data out of open data editors. Quit RKWard after that. Sorry! ---Session Info--- RKWard version: 0.7.5 KDE Frameworks version (runtime): 5.115.0 KDE Frameworks version (compile time): 5.109.0 Qt version (runtime): 5.15.12 Qt version (compile time): 5.15.10 Using QWebEngine for HTML rendering Local config directory: /home/rollom/.config RKWard storage directory: /home/rollom/.rkward/ Backend version (as known to the frontend): 4.3.3 Debug message file (this may contain relevant diagnostic output in case of trouble): /tmp/rkward.frontend - backend not available or rk.sessionInfo() canceled - [1] "230203RM_MPRAGE-GRAPPA2-1x1x1-208sl-100pcFOV_20230203164527_21.nii" [2] "MRI-work.RData" [3] "MRI-work.RData.rkworkplace" > image<-readNifti(file(nameRM)) Error in readNifti(file(nameRM)) : File name(s) must be specified in a character vector > mode(nameRM) [1] "character" > nameRM [1] "230203RM_MPRAGE-GRAPPA2-1x1x1-208sl-100pcFOV_20230203164527_21.nii" > image<-readNifti(file="230203RM_MPRAGE-GRAPPA2-1x1x1-208sl-100pcFOV_20230203164527_21.nii") > dim(image) [1] 208 256 256 > pixdim(image) [1] 1 1 1 > pixunits(image) [1] "mm" "s" > view(image) Setting window to (0, 240) Error: C stack usage 46892866892684 is too close to the limit
Sorry for the long delay. This seems to work for me with RKWard 0.8.0. Are you sure you might not simply got stuck in the "locator()"? view(x) seems to enter locator mode, immediately, and the only way to leave that is by right-clicking in the device. (That seems quite questionable, but is outside our control in RKWard.)
Never mind, I found how to reproduce this, after all. Investigating.
The minimal example to reproduce this turn out to be embarrassingly simple: > dev.capabilities() Probably affects some version of R, only. Underlying feature was added in R 4.2.0. Tested, and confirmed to crash in R 4.3.3. Seems not to crash in R devel (future 4.5). Should be fixable, soonish.
Created attachment 172126 [details] attachment-773952-0.html Much appreciate the update and your and whole team effort If my report seems useful Iām glad it is so, will continue to use rkward All the best Rollo On Tue, 30 Jul 2024 at 15:23, Thomas Friedrichsmeier < bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=483120 > > --- Comment #3 from Thomas Friedrichsmeier < > thomas.friedrichsmeier@kdemail.net> --- > The minimal example to reproduce this turn out to be embarrassingly simple: > > dev.capabilities() > > Probably affects some version of R, only. Underlying feature was added in R > 4.2.0. Tested, and confirmed to crash in R 4.3.3. Seems not to crash in R > devel > (future 4.5). > > Should be fixable, soonish. > > -- > You are receiving this mail because: > You reported the bug.
This should now be fixed in the development version. You may want to give the latest AppImage a try: https://cdn.kde.org/ci-builds/education/rkward/master/linux/rkward-master-1291-linux-gcc-x86_64.AppImage . (Or compile from master). Thanks for reporting!