Visual Studio 2008 crashes on startup with Qt 1.1.4 add-on

I am using Windows 7 x64, Qt Add-in 1.1.4, Visual Studio 2008 Team Edition. Does not work on multiple computers ... reinstalling Windows, Qt Add-in or VS2008 does not help (

The error report says that the error in msenv.dll

Please tell us how to fix it. If possible, of course. Thanks!

+4
source share
1 answer

Disclaimer: The original issue was resolved by installing all the features of VS2008;


However, if your Visual Studio 2008 crashes (especially at startup), like mine, even without Qt or any other add-ons: open eventvwr.exe and find the error with exception code 5 (write access violation) at offset 0x0000bdb8 in msenv.dll .

vs2008_msenv_dll_crash_offset_0x0000bdb8

This is a known bug for which there is officially no workaround other than upgrading to VS2010.

In my experience, sometimes this will not happen for a long time, sometimes you will need 2-4 attempts to start an empty VS2008, and sometimes (in another environment, such as Windows Server 2008) there is no retry and a reboot will help.

If you work in a controlled environment limited to specific versions of Windows and Visual Studio, try reducing the startup frequency of the version VS2008 DEVENV.EXE . There are mitigation scenarios:

  • Use another IDE such as CLION (commercial product) or just Notepad ++ / WinDbg
  • Use IncrediBuild (commercial product, but FreeDev licenses are available): in command line mode, it bypasses the loaded GUI DEVENV.EXE
  • Use MSBuild or any other Microsoft compiler call that can bypass DEVENV.EXE
  • Use smaller, but larger VS-solutions with a large number of projects, and not many 1-project solutions.

Finally, just in case the Social MSDN link stops working, here is a screenshot:

social.msdn

0
source

Source: https://habr.com/ru/post/1310599/


All Articles