Page MenuHomePhabricator

ImageGenerator::GenerateFromReference causes HEAP CORRUPTION
Open, NormalPublic

Description

OS: Windows, VS 2017

Situation: Having a unit test that uses following line:

mitk::Image::pointer m_zMax = mitk::ImageGenerator::GenerateImageFromReference<double>(refImage, 0.95);

If this line is active we have an excpetion at the and of the test, when everything is cleand up and the test is pulled down.

The error says

Debug Error
HEAP CORRUPTION DETECTED: after Normal block (#ääää) at 0xSomething.
CRT detected that the application wrote to memory after end of heap buffer.

If this line is not part of the test everything works fine. (No corruption).

Event Timeline

kislinsk triaged this task as Normal priority.Mar 29 2019, 8:42 AM
kislinsk added a project: Restricted Project.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs