JuliaCall icon indicating copy to clipboard operation
JuliaCall copied to clipboard

warning in R console with JuliaCall

Open ccshao opened this issue 6 years ago • 3 comments

I often experience R session abortion (but not every time) when using JuliaCall for caculation but could not figure our the exact reason.

Last time, when I want to quite R and hit "ctrl d", I get the waring like bellow, but not the usual questiong asking me to save R work space. I have no idea what it means, maybe it is speicific to my working environment. Sorry currently I could not provide a reproducible example.

2019-06-10 22:38:06.535 R[19763:587248] WARNING: nextEventMatchingMask should only be called from the Main Thread! This will throw an exception in the future. 2019-06-10 22:38:06.535 R[19763:587248] *** NSForwarding: warning: selector (0x7ffee5e58620) for message '`ܲ' does not match selector known to Objective C runtime (0x7fcff80f4290)-- abort 2019-06-10 22:38:06.536 R[19763:587248] (null): unrecognized selector sent to class 0x7fff8d2351e0 2019-06-10 22:38:06.537 R[19763:587248] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '(null): unrecognized selector sent to class 0x7fff8d2351e0' *** First throw call stack: ( ) libc++abi.dylib: terminating with uncaught exception of type NSException

signal (6): Abort trap: 6 in expression starting at no file:0

sessionInfo() R version 3.6.0 (2019-04-26) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS High Sierra 10.13.6

Matrix products: default BLAS: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] JuliaCall_0.16.6 data.table_1.12.2 magrittr_1.5 colorout_1.2-1

loaded via a namespace (and not attached): [1] compiler_

ccshao avatar Jun 10 '19 20:06 ccshao

Thanks for the feedback. Is there any R IDE involved? And about the R session abortion, could you describe the situation? Is it in terminal R or IDE R?

Non-Contradiction avatar Jun 10 '19 22:06 Non-Contradiction

I was using the iTerm2 console, and haven't try JualiaCall in R IDE. Sorry I could not provide much information.

ccshao avatar Jun 11 '19 03:06 ccshao

Here are a little more information about R quit suddenly:

signal (11): Segmentation fault in expression starting at no file:0 unknown function (ip: 0xffffffffffffffff) Allocations: 28374435 (Pool: 28368040; Big: 6395); GC: 59 fish: “R” terminated by signal SIGSEGV (Address boundary error)

ccshao avatar Jun 13 '19 06:06 ccshao