[Bug 1006] New: Jacobian missing EIGEN_MAKE_ALIGNED_OPERATOR_NEW

http://bugs.orocos.org/show_bug.cgi?id=1006

Summary: Jacobian missing EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Product: KDL
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Kinematic Solvers
AssignedTo: orocos-dev [..] ...
ReportedBy: andy [dot] somerville [..] ...
Estimated Hours: 0.0

In building a custom solver I came across a problem with Jacobian. It appears
not to have an eigen data member without using the
EIGEN_MAKE_ALIGNED_OPERATOR_NEW macro in it's declaration.

Not having this means that attempts to heap allocate any instance of Jacobian
is likely to cause memory corruption.

It's very easy to fix.

public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

I can submit a patch if helpful.

Ruben Smits's picture

[Bug 1006] Jacobian missing EIGEN_MAKE_ALIGNED_OPERATOR_NEW

http://bugs.orocos.org/show_bug.cgi?id=1006

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ruben.smits@intermodalics.e
| |u
Resolution| |FIXED