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

x/sys/windows/svc: gs:28h is zero after servicemain returns sometimes #47792

Open
zx2c4 opened this issue Aug 18, 2021 · 1 comment
Open

x/sys/windows/svc: gs:28h is zero after servicemain returns sometimes #47792

zx2c4 opened this issue Aug 18, 2021 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@zx2c4
Copy link
Contributor

zx2c4 commented Aug 18, 2021

I'm very rarely seeing crashes when using services from c-shared hosted in a .NET process, when calling svc.Stop, to the tune of:

Application: demo-client.exe
CoreCLR Version: 5.0.921.35908
.NET Version: 5.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FF9286BCFC8

Disassembling, that matches:

image

Apparently our TLS slot has been zeroed by something?

@gopherbot gopherbot added this to the Unreleased milestone Aug 18, 2021
@mknyszek mknyszek added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 18, 2021
@mknyszek
Copy link
Contributor

CC @alexbrainman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants