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

Commented Issue: DataFrameTest fails on Linux on second run within a same process [146]

$
0
0
Linux, Mono 3.12.1 built from master, 2014-11-09. R 3.2.1, Debian unstable.

nunit-gui; running DataFrameTest once is successful, second time crashes the process (not sure yet which test). A couple of error messages reported as follows. The first one reported is from the first run of the test in the class; the second one is followed by the native stack trace

```
Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, :
arguments imply differing number of rows: 10, 7
list()
data frame with 0 columns and 0 rows
```

So far as I can see, error is caused by
```c#
// public void TestDataFrameInMemoryCreation()
Assert.Throws(typeof(EvaluationException), (() => df = engine.CreateDataFrame(columns, columnNames: null)));
```

```c#
// in Function.cs
private ProtectedPointer evaluateCall(IntPtr call)
```
{System.ExecutionEngineException: SIGILL
at (wrapper managed-to-native) object:wrapper_native_0x7f0e61116f30 (intptr,intptr,bool&)
at RDotNet.Function.evaluateCall (IntPtr call) [0x00028] in /home/per202/src/

Comments: The same test DataFrameTest run from a console app other than nunit however seems to recover from the issue. This may be actually the way Nunit tests with Assert.Throws that causes the crash. Odd, and may be worth reporting if this is indeed the case.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>