When the constructor fails to install the handler (e.g. because the process
handler was not installed) an assertion is raised in the destructor when
calling crUninstallFromCurrentThread().
The destructor could be modified like this in CrashRpt.h:
~CrThreadAutoInstallHelper()
{
// AS: When installation fails above, we avoid an redundant error message and
// assertion failure here.
if (m_nInstallStatus == 0)
crUninstallFromCurrentThread();
}
Original issue reported on code.google.com by Schoenle...@googlemail.com on 6 May 2012 at 1:38
Original issue reported on code.google.com by
Schoenle...@googlemail.com
on 6 May 2012 at 1:38