Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

Commented Issue: Error: C Stack Usage is too close to the limit [129]

$
0
0
Hello, thanks for your work on this library. I can't seem to get it to initialize:

- Ubuntu 14.04 64 bit.
- R-Base installed, and I mapped the path and checked they were OK with env.
- Mono 3.2.8 (Default with 14.04 Ubuntu).
- R.NET 1.5.15

No example code just using the hello world example which crashes the whole application. I've tried Try-Catch but can't inspect the error. I googled but the mentions of this same error are 2 years old.

```
Error: C stack usage is too close to the limit
*** caught segfault ***
address 0x10, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Segmentation fault (core dumped)
```

Directories setup as:
```
if [ "${LD_LIBRARY_PATH}" != "" ]
then
export LD_LIBRARY_PATH=/usr/lib/R/lib:/usr/local/R/lib:${LD_LIBRARY_PATH}
else
export LD_LIBRARY_PATH=/usr/lib/R/lib:/usr/local/R/lib
fi
export PATH=/usr/bin:/usr/lib/R/lib:${PATH}
```

It dies on the REngine engine = REngine.GetInstance(); line....

Thanks

Jared
Comments: Marking as resolved, not yet closed as note to self need a unit test.

Viewing all articles
Browse latest Browse all 1634

Trending Articles