-
Notifications
You must be signed in to change notification settings - Fork 13
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
Some signtool versions (eg. 10.0.22621.0) occasionally fail or never return #19
Comments
I just had a failure where This could explain the "never ending loop" I'm seeing in some cases. |
I have also been experiencing this problem seemingly randomly. Once it starts happening it will be consistent for minutes/hours and then start working correctly again for no discernable reason. The really frustrating part is that log output from signtool indicates that the file was successfully signed with no warnings or errors so this appears to occur in the exit routines. Faulting application name: signtool.exe, version: 10.0.18362.1, time stamp: 0x2d8c3e38 |
I enabled grpc trace logging with GRPC_TRACE=all and didn't really get any useful information except that grpc completes it's shutdown routing BEFORE the application crashes. This is the end of the output before the crash details like the eventlog above. I1011 15:16:45.019659 4472 logging.cc:48] [external/com_github_grpc_grpc/src/core/lib/iomgr/executor.cc:397]: EXECUTOR Executor::ShutdownAll() enter |
As a temporary work around we have confirmed that signtool.exe from the Windows 8.1 SDK does not have this problem, however signtool from all versions i've tried of Windows 10 SDK do have this issue. |
I was able to reproduce this and get a stack trace using debugdiag.
Notably, |
Thanks for the call stack. The absence of |
@obones I don't think your theory is impossible, but a bug in signtool feels more likely to me.
We're looking into asan/msan builds on Windows so that we can determine this more conclusively. |
Hi @bdhess, hi @obones, hi @ysichrisdag, |
With If you are affected by this, I would suggest upgrading to the Windows 11 SDK version 10.0.26100.1 or later. I tested with the Windows SDK Build Tools package available via NuGet: https://www.nuget.org/packages/Microsoft.Windows.SDK.BuildTools/10.0.26100.1 |
Hello,
I have been using the CNG provider (version 0.8) for the past month and it's really nice to be able to continue using
signtool
in our build environment.What I have noticed though, it that from times to times, signtool misbehaves with the following two potential outcomes:
This was never happening before we moved to the CNG provider.
I have tried putting calls to
signtool
in a batch loop but have not been able to reproduce reliably.I'm still investigating the situation, but if this rings a bell with anyone, I'd be quite relieved to learn that I'm not the only one seeing this.
The text was updated successfully, but these errors were encountered: