[wix-devs] Got a Non-Fatal Debug Assert Message While Installing One of My Products

John Cooper JoCooper at jackhenry.com
Thu Sep 24 07:42:01 PDT 2015


Well, looking at the wcautil.lib on my build servers, I see a lot of "debug" in them (both x86 and x64) under a hex editor.  I built a fresh copy with /p:Configuration=Release, and NDEBUG was definitely getting passed during the compile.

It could be I'm just seeing the artifacts from the asserts.

I found "debug" in the fresh build too.  Here is the build log for 12.0 (10.0, 11.0, and 14.0 are similar):

Task "CL"
  Forcing rebuild of all source files due to missing command TLog "D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.tlog\cl.command.1.tlog".
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /I"D:\git\wix3-jmc\build\obj\version\\" /I"D:\git\wix3-jmc\src\libs\wcautil\inc" /I"D:\git\wix3-jmc\src\libs\wcautil" /I"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /I"C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\include\\" /I"D:\git\wix3-jmc\src\libs\dutil\inc" /Z7 /nologo /W4 /WX /MP /O1 /Oi /Oy- /D NDEBUG /D WIN32 /D _WINDOWS /D _WIN32_MSI=500 /D _WIN32_WINNT=0x0501 /D _CRT_STDIO_LEGACY_WIDE_SPECIFIERS /D _USING_V110_SDK71_ /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Yc"precomp.h" /Fp"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.pch" /Fo"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /Fd"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\vc120.pdb" /Gz /TP /analyze- /Zl /errorReport:queue -YlprecompDefine "D:\git\wix3-jmc\src\common\precomp.cpp"
  Tracking command:
  C:\Program Files (x86)\MSBuild\12.0\bin\Tracker.exe /d "C:\Program Files (x86)\MSBuild\12.0\bin\FileTracker.dll" /i D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.tlog /r D:\GIT\WIX3-JMC\SRC\COMMON\PRECOMP.CPP /b MSBuildConsole_CancelEvent85963c262bb940828a8748dc49938418  /c "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe"  /c /I"D:\git\wix3-jmc\build\obj\version\\" /I"D:\git\wix3-jmc\src\libs\wcautil\inc" /I"D:\git\wix3-jmc\src\libs\wcautil" /I"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /I"C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\include\\" /I"D:\git\wix3-jmc\src\libs\dutil\inc" /Z7 /nologo /W4 /WX /MP /O1 /Oi /Oy- /D NDEBUG /D WIN32 /D _WINDOWS /D _WIN32_MSI=500 /D _WIN32_WINNT=0x0501 /D _CRT_STDIO_LEGACY_WIDE_SPECIFIERS /D _USING_V110_SDK71_ /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Yc"precomp.h" /Fp"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.pch" /Fo"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /Fd"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\vc120.pdb" /Gz /TP /analyze- /Zl /errorReport:queue -YlprecompDefine "D:\git\wix3-jmc\src\common\precomp.cpp"
  precomp.cpp
Done executing task "CL".
Task "CL" skipped, due to false condition; ('%(ClCompile.PrecompiledHeader)' == 'Create' and '%(ClCompile.ExcludedFromBuild)'!='true' and '%(ClCompile.CompilerIteration)' == '') was evaluated as ('Use' == 'Create' and ''!='true' and '' == '').
Task "CL" skipped, due to false condition; ('%(ClCompile.PrecompiledHeader)' != 'Create' and '%(ClCompile.ExcludedFromBuild)'!='true' and '%(ClCompile.CompilerIteration)' == '' and @(ClCompile) != '') was evaluated as ('Create' != 'Create' and ''!='true' and '' == '' and D:\git\wix3-jmc\src\common\precomp.cpp != '').
Task "CL"
  Read Tracking Logs:
  	D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.tlog\cl.read.1.tlog
  Outputs for D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\QTEXEC.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCALOG.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCASCRIPT.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAUTIL.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWOW64.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWRAP.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWRAPQUERY.CPP:
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCALOG.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCASCRIPT.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAUTIL.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAWRAPQUERY.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAWOW64.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAWRAP.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\QTEXEC.OBJ
  qtexec.cpp will be compiled as it was not found in the tracking log.
  wcalog.cpp will be compiled as it was not found in the tracking log.
  wcascript.cpp will be compiled as it was not found in the tracking log.
  wcautil.cpp will be compiled as it was not found in the tracking log.
  wcawow64.cpp will be compiled as it was not found in the tracking log.
  wcawrap.cpp will be compiled as it was not found in the tracking log.
  wcawrapquery.cpp will be compiled as it was not found in the tracking log.
  Outputs for D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\QTEXEC.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCALOG.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCASCRIPT.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAUTIL.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWOW64.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWRAP.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWRAPQUERY.CPP:
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCALOG.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCASCRIPT.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAUTIL.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAWRAPQUERY.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAWOW64.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\WCAWRAP.OBJ
  	D:\GIT\WIX3-JMC\BUILD\OBJ\SHIP\X86\WCAUTIL\2013\QTEXEC.OBJ
  Write Tracking Logs:
  	D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.tlog\cl.write.1.tlog
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /I"D:\git\wix3-jmc\build\obj\version\\" /I"D:\git\wix3-jmc\src\libs\wcautil\inc" /I"D:\git\wix3-jmc\src\libs\wcautil" /I"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /I"C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\include\\" /I"D:\git\wix3-jmc\src\libs\dutil\inc" /Z7 /nologo /W4 /WX /MP /O1 /Oi /Oy- /D NDEBUG /D WIN32 /D _WINDOWS /D _WIN32_MSI=500 /D _WIN32_WINNT=0x0501 /D _CRT_STDIO_LEGACY_WIDE_SPECIFIERS /D _USING_V110_SDK71_ /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Yu"precomp.h" /Fp"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.pch" /Fo"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /Fd"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\vc120.pdb" /Gz /TP /analyze- /Zl /errorReport:queue -YlprecompDefine wcalog.cpp wcascript.cpp wcautil.cpp wcawrapquery.cpp wcawow64.cpp wcawrap.cpp qtexec.cpp
  Tracking command:
  C:\Program Files (x86)\MSBuild\12.0\bin\Tracker.exe /d "C:\Program Files (x86)\MSBuild\12.0\bin\FileTracker.dll" /i D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.tlog /r "D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\QTEXEC.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCALOG.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCASCRIPT.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAUTIL.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWOW64.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWRAP.CPP|D:\GIT\WIX3-JMC\SRC\LIBS\WCAUTIL\WCAWRAPQUERY.CPP" /b MSBuildConsole_CancelEvent7a9b1f214e014a05b052066af755b6ec  /c "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe"  /c /I"D:\git\wix3-jmc\build\obj\version\\" /I"D:\git\wix3-jmc\src\libs\wcautil\inc" /I"D:\git\wix3-jmc\src\libs\wcautil" /I"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /I"C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\include\\" /I"D:\git\wix3-jmc\src\libs\dutil\inc" /Z7 /nologo /W4 /WX /MP /O1 /Oi /Oy- /D NDEBUG /D WIN32 /D _WINDOWS /D _WIN32_MSI=500 /D _WIN32_WINNT=0x0501 /D _CRT_STDIO_LEGACY_WIDE_SPECIFIERS /D _USING_V110_SDK71_ /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Yu"precomp.h" /Fp"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\wcautil.pch" /Fo"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\\" /Fd"D:\git\wix3-jmc\build\obj\ship\x86\wcautil\2013\vc120.pdb" /Gz /TP /analyze- /Zl /errorReport:queue -YlprecompDefine wcalog.cpp wcascript.cpp wcautil.cpp wcawrapquery.cpp wcawow64.cpp wcawrap.cpp qtexec.cpp
  wcalog.cpp
  wcascript.cpp
  wcautil.cpp
  wcawrapquery.cpp
  wcawow64.cpp
  wcawrap.cpp
  qtexec.cpp
Done executing task "CL".
Done building target "ClCompile" in project "wcautil.vcxproj".

NDEBUG should strip out asserts.  A head scratcher for me.

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com




-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: Thursday, September 24, 2015 8:32 AM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Got a Non-Fatal Debug Assert Message While Installing One of My Products

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

I'll get the installer (not a release build) and further rip it apart.  This wasn't a release to a customer, and it wasn't fatal, but it was weird.

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com



-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: Thursday, September 24, 2015 2:07 AM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Got a Non-Fatal Debug Assert Message While Installing One of My Products

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

Uhhhh, that can only happen if the wcautil.lib was compiled DEBUG. Uhh, that would be bad if WiX v3.10 RTM shipped with debug builds on... 

Bob, thoughts? Could something like this be the cause of that mysterious crash on XP?

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  http://www.firegiant.com/

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: Wednesday, September 23, 2015 12:07 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: [wix-devs] Got a Non-Fatal Debug Assert Message While Installing One of My Products

1)      The Action Text suggests sometime around the running of ExecXmlFile (pretty late in the upgrade)

2)      Message in "Debug Assert Message" Dialog is:



Assertion failed in wcawow64.cpp, 115

You must call WcaRevertWow64FSRedirection() before calling

WcaDisableWow64FSRedirection() gain

Abort=Debug, Retry=Skip, Ignore=Skip all



3)      Selecting "Retry" caused the install to continue and succeed.

4)      Product only supports x64.  All its paths are in the ProgramFiles64Folder tree.  There are two config files modified and both are in that tree.

5)      Installer mode was upgrade.  It uses a WiX standard bootstrapper.  Scheduling of the upgrade is afterInstallInitialize

6)      WiX 3.10 RTM

7)      OS:  Windows Server 2012 with no service packs.

8)      Major Application:  Also has SQL Server 2012 installed.

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.(r) | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com<mailto:JoCooper at jackhenry.com>

NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/ ____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.

____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



More information about the wix-devs mailing list