crash with raw data and mxMLObjective

> data(demoOneFactor)
> factorModel <- mxModel("One Factor",
+ mxMatrix("Full", 5, 1, values=0.2,
+ free=T, name="A"),
+ mxMatrix("Symm", 1, 1, values=1,
+ free=F, name="L"),
+ mxMatrix("Diag", 5, 5, values=1,
+ free=T, name="U"),
+ mxAlgebra(A %*% L %*% t(A) + U, name="R",
+ dimnames = list(names(demoOneFactor),
+ names(demoOneFactor))),
+ mxMLObjective("R"),
+ mxData(demoOneFactor, type="raw"))
> summary(mxRun(factorModel))
Running One Factor
*** caught segfault ***
address 0x15c0bdf0, cause 'memory not mapped'
Traceback:
1: .Call("callNPSOL", objective, startVals, constraints, matrices, parameters, algebras, data, options, state, PACKAGE = "OpenMx")
2: mxRun(factorModel)
I thought the back-end was
==5123== Invalid write of size 8
==5123== at 0x60F40F1: omxSetMatrixElement (omxMatrix.c:252)
==5123== by 0x60F3733: omxInitMLObjective (omxMLObjective.c:286)
==5123== by 0x60F50F2: omxFillMatrixFromMxObjective (omxObjective.c:113)
Log in or register to post comments
In reply to I thought the back-end was by mspiegel
I can check-in a patch in the
Log in or register to post comments
In reply to I can check-in a patch in the by mspiegel
Oh wait, is the issue that an
Log in or register to post comments
In reply to Oh wait, is the issue that an by mspiegel
The back-end should be
I'll check in a fix for it.
Log in or register to post comments
In reply to The back-end should be by tbrick
Interesting. I was running
Log in or register to post comments