Systemic2 icon indicating copy to clipboard operation
Systemic2 copied to clipboard

Loading .sys file causes R to crash

Open ajtribick opened this issue 8 years ago • 1 comments

Kubuntu 16.10 (amd64), R 3.3.1, OpenJDK 1.8.0_121, Systemic 2.2.0

Attempting to load a .sys file (11Com.sys) causes R to die with the following message:

=> kload.system(k, '...path.../linux/Systemic/datafiles/11Com.sys')

 *** caught segfault ***
address 0xffffffff9f096d20, cause 'memory not mapped'

Traceback:
 1: .dyncall.default(<pointer: 0x7fc8b857c110>, "pZ)B", ...)
 2: K_addDataFromSystem(k$h, datafile)
 3: kload.system(k, '...path.../linux/Systemic/datafiles/11Com.sys")
An irrecoverable exception occurred. R is aborting now ...

I'm sorry, username. I'm afraid I can't do that... :(

It appears the Console (or its R kernel) has crashed.

ajtribick avatar Feb 15 '17 21:02 ajtribick

Managed to resolve the issue: the compiler standard should be "-std=gnu99" not "-std=c99" (update OPTIMIZED_FLAGS and DEBUG_FLAGS in Makefile.linux)

ajtribick avatar Feb 15 '17 22:02 ajtribick