[wix-devs] Debugging WIX4/Burn Unit tests
r.sean.hall at gmail.com
Mon Oct 31 14:32:45 PDT 2022
Yes. It builds and runs them in x86 and x64.
On Mon, Oct 31, 2022 at 4:24 PM Hoover, Jacob via wix-devs <
wix-devs at lists.wixtoolset.org> wrote:
> Trying to test my changes, and I've run into an issue where the unit test
> host process is crashing. Note this only happens on x64, and it's
> triggering a breakpoint from
> void VariantBasicTest()
> BURN_VARIANT expectedVariants;
> BURN_VARIANT actualVariants;
> for (DWORD i = 0; i < 10; i++)
> BVariantUninitialize(expectedVariants + i); // This is the
> line causing the issue...
> BVariantUninitialize(actualVariants + i);
> extern "C" SIZE_T DAPI MemSize(
> __in LPCVOID pv
> // AssertSz(vfMemInitialized, "MemInitialize() not called, this would
> normally crash");
> return ::HeapSize(::GetProcessHeap(), 0, pv);
> HeapSize is stating that the Heap has been corrupted.
> Does our CI pipeline build and run the x64 tests?
> WiX Toolset Developer Mailing List provided by FireGiant
More information about the wix-devs