Bug 397127

Summary: RKWard crashes on start
Product: [Applications] rkward Reporter: Ben <bwbees0>
Component: User InterfaceAssignee: RKWard Team <rkward-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: thomas.friedrichsmeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ben 2018-08-03 15:23:13 UTC
---Problem description---
Please fill in the missing bits *in English*.

I encountered the error message quoted below. Additionally, I saw the following symptoms:
N/A -- RKWard just died. 

What - in detail - did you do directly before you encountered this problem?
All I did was start RKWard by clicking on an R file.  I also started RKWard from the command line and received the same error message. 

When you try to repeat the above, does the problem occur again (no, sometimes, always)?
yes, always. 

If applicable: When doing the same thing in an R session outside of RKWard, do you see the same problem?
Not applicable. 

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?
Not applicable since I never got to the part where I load any data or R code. 

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)?
From the Fedora repository. 


---Error Message---
Message code: r_engine_has_died
The R engine has encountered a fatal error:
unable to initialize the JIT

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.6.5
KDE version (runtime): 4.14.38
KDE version (compile time): 4.14.38
Qt build key: x86_64 linux g++-4 full-config
Local KDE directory: /home/ben/.kde/
RKWard storage directory: /home/ben/.rkward/
Backend version (as known to the frontend): 

Debug message file (this may contain relevant diagnostic output in case of trouble):
/tmp/rkward.frontend.Tw5476
- backend not available or rk.sessionInfo() canceled -
Comment 1 Thomas Friedrichsmeier 2020-05-03 20:06:20 UTC
Hi! My apologies for not responding to this report any sooner.

The error message is most likely due to using RKWard with a version of R that it was not compiled for, i.e. a packaging problem. To fix, you'd have to recompile RKWard. If still applicable, report the problem to your distribution's maintainer.

Sorry, once more, and thanks for reporting!