VC 2008 debug crash

Hi!

I'm using the static hdf5 1.8.9 libs with Ms Visual C++ 2008 and i'm having
a problem.

When i run th program in release mode, there is no problem, but when i run
the program in debug mode it stops in the file gs_report.c in the line 298
_CRT_DEBUGGER_HOOK(_CRT_DEBUGGER_GSFAILURE);

i force to continue and it stops again in file dbghook.c Line 62

i force to continue and it stops again in file gs_report.c Line 313 if
(!DebuggerWasPresent)

i force to continue and it exits.

Any help?

thanks.