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

proc/native: Mask MS_VC_EXCEPTION [windows] #1384

Merged
merged 1 commit into from
Oct 19, 2018

Conversation

aarzilli
Copy link
Member

@aarzilli aarzilli commented Oct 19, 2018

Some libraries (for example steam_api64.dll) will send this exception
code to set the thread name on Microsoft VisualC.
In theory it should be fine to send the exception back to the target,
which is responsible for setting a handler for it, in practice in some
cases (steam_api64.dll) this will crash the program. So we'll mask it
instead.

Fixes #1383

Some libraries (for example steam_api64.dll) will send this exception
code to set the thread name on Microsoft VisualC.
In theory it should be fine to send the exception back to the target,
which is responsible for setting a handler for it, in practice in some
cases (steam_api64.dll) this will crash the program. So we'll mask it
instead.

Fixes go-delve#1383
@aarzilli aarzilli changed the title proc: MS_VC_EXCEPTION [WIP] proc: MS_VC_EXCEPTION Oct 19, 2018
@aarzilli aarzilli changed the title proc: MS_VC_EXCEPTION proc/native: Mask MS_VC_EXCEPTION [windows] Oct 19, 2018
Copy link
Member

@derekparker derekparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants