emory exception on call to H5Dwrite

All,

I get following memory exception when executing H5Dwrite .

Windows has triggered a breakpoint in hw.exe.

This may be due to a corruption of the heap, and indicates a bug in
hw.exe or any of the DLLs it has loaded.

The output window may have more diagnostic information

The parameters passed to the call are correct . Has anyone experienced
such problems with H5Dwrite

Regards

Ramakrishnan