Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在启用 /guard:ehcont 情况下 Debug 编译有概率在抛 C++ 异常时闪退的情况 #131

Closed
MouriNaruto opened this issue Nov 27, 2024 · 2 comments
Labels
类型:问题 程序不工作,或者遇到错误。 进度:处理完成

Comments

@MouriNaruto
Copy link
Member

相关问题刚刚和老鸭子私信讨论,原本我猜测是 VC-LTL 的问题,但实测是 YY-Thunks 导致的原因。

有问题的二进制和 dump 已经通过 QQ 私聊发送给老鸭子。

毛利

@mingkuang-Chuyu mingkuang-Chuyu added 类型:问题 程序不工作,或者遇到错误。 进度:正在跟进 labels Nov 28, 2024
@MiroKaku
Copy link

附加一个编译警告:

1>YY_Thunks_for_Vista.obj : warning LNK4291: 模块可能包含 "__except" (结构化异常处理),但未使用 /guard:ehcont 进行编译;正在生成必需的元数据

版本:
Mile.Project.Configurations 内置的 1.1.2 版本

@mingkuang-Chuyu
Copy link
Collaborator

已经确认微软的UCRT是开启的/guard:ehcont 构建的。本地也进行了验证。开启/guard:ehcont 后任然兼容老版本的工具链。

YY-Thunks也只能跟随开启,避免异常无法正常派发。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
类型:问题 程序不工作,或者遇到错误。 进度:处理完成
Projects
None yet
Development

No branches or pull requests

3 participants