|
Boost Users : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-02-09 13:12:46
> I'm having problems with the unit test framework when I try to run it in
> release mode. My compiler is VC++ 6 sp6.
> The unit test executable I'm building is "Using MFC as a shared DLL" and
> is set to use the "Multithreaded DLL" runtime library.
> The test subject code that is linked to this app is built with the same
> settings.
>
> I'm linking with libboost_unit_test_framework-vc6-mt-1_33.lib.
>
> The problem is that when the unit test starts to execute it fails with an
> access violation.
> In debug build it works fine.
> I enabled some debug info in the release build and found that what seems
> to be happening is a deallocation of "invalid" heap memory, which I'm
> guessing could be a result of different runtime libs being used.
> The stack trace at the point of the crash is included below.
>From a trace stack it unclear who is responsible for the crash. It could be
UTF or it could be Boost.Filesystem library. I wouldn't be abe to debug this
(first of all because it's release build and second I do not have vc6
anymore). Why cant you use debug build of the framework?
Gennadiy
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net