使用 Qt 插件 1.1.4 启动时 Visual Studio 2008 崩溃

发布于 2024-09-02 22:18:29 字数 193 浏览 3 评论 0原文

我使用 Windows 7 x64、Qt Add-in 1.1.4、Visual Studio 2008 Team Edition。 不适用于多台计算机...重新安装 Windows、Qt Add-in 或 VS2008 没有帮助(

错误报告显示 msenv.dll 中存在错误,

请告诉我们如何修复它。 如果可能的话,当然可以。 谢谢你!

I use 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 an error in msenv.dll

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼泪都笑了 2024-09-09 22:18:29

免责声明:原来的问题通过安装VS2008的所有功能得到解决;


但是,如果您的 Visual Studio 2008 像我一样崩溃(尤其是在启动时),即使没有 Qt 或任何其他加载项:打开 eventvwr.exe 并查找异常代码 5 的错误(访问写入违规)位于 msenv.dll 中的偏移量 0x0000bdb8 处。

vs2008_msenv_dll_crash_offset_0x0000bdb8

这是一个已知错误,有 官方 除了升级到 VS2010 之外没有其他解决方法。

根据我的经验,有时它不会发生很长时间,有时您需要 2-4 次尝试才能启动空的 VS2008,有时(在另一个环境中,例如操作系统 Windows Server 2008)不需要重试和重新启动。来帮忙。

如果您在受控环境中工作,并且受限于特定版本的 Windows 和 Visual Studio,请尝试减少启动 VS2008 版本的 DEVENV.EXE 的频率。有缓解方案:

  • 使用其他 IDE,例如 CLion(商业产品)或只是 Notepad++ / WinDbg
  • 使用 IncrediBuild(商业产品,但可以使用 FreeDev 许可证):在命令行模式下,它绕过 GUI 加载的 DEVENV.EXE
  • 使用MSBuild 或任何其他可以绕过 DEVENV.EXE 的 Microsoft 编译器调用程序
  • 对更多项目使用更少但更大的 VS 解决方案,而不是大量的 1 项目解决方案。

最后,为了防止社交 MSDN 链接停止工作,这里有一个屏幕截图:

social.msdn

Disclaimer: the original question got resolved by installing all features of VS2008;


However if your Visual Studio 2008 crashes (especially at startup) just like mine, even without Qt or any other Add-ins: open up eventvwr.exe and look for an Error with the exception code 5 (access violation on write) at offset 0x0000bdb8 in msenv.dll.

vs2008_msenv_dll_crash_offset_0x0000bdb8

That is a known bug for which there is officially no workaround other than upgrade to VS2010.

In my experience sometimes it won't happen for a long time, sometimes you will need 2-4 attempts to start up an empty VS2008, and sometimes (in another environment, e.g. OS Windows Server 2008) no amount of retrying and rebooting is going to help.

If you work in a controlled environment, constrained to particular versions of Windows and Visual Studio, try to reduce how often you need to start VS2008 version of 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 GUI-laden DEVENV.EXE
  • Use MSBuild or any other invoker of the Microsoft compilers that can bypass DEVENV.EXE
  • Use fewer but larger VS solutions with more projects, rather than lots of 1-project solutions.

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

social.msdn

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文