[ADOL-C] sparse_hessian crashed in Visual Stuido 2010

cat fa boost.subscribing at gmail.com
Sat Dec 1 08:29:11 EST 2012


I tried the example in sparse_hessian.cpp and surprisingly the program
crashed. VS reportred a Debug Assertion Failed warning. Some useful
information is as blow:
**************************************************************
File:f:\dd/vctools/crt_bld/self_x86/crt/src/dbgheap.c
Line: 1322

Expression:_CrtIsValidHeapPointer(pUserData)
***************************************************************

If I commented out all lines related to memory release sucn as free()
and delete[], the program didn't crash.

Can someone tell me how to fix or work around this problem? Thanks.


More information about the ADOL-C mailing list