Data misaligned access violation

The exception shown below has been generated during accessing image tool box api i.e adi_morph_open() as it was showing adi_fatal_exception in the disassembly window and i couldn't trace out the cause for the exception.

please suggest the solution .

adi_tool_box_exception