Comments (8)
You need to get a stack trace with symbols that match the DLL that you built. That would tell you that the crash is in CSampleProvider::GetCredentialAt
with dwIndex=0
, crashing at the _pCredential->QueryInterface(...)
because _pCredential
is null. I'll let you pick it up from there.
from windows-classic-samples.
Can you include a stack trace, or attach the files referenced in the event log?
from windows-classic-samples.
I reverted the lab to test a couple of different options but I will set it up again and send you the files as soon as I duplicate the issue, i.e. reinstall and turn on the setting. These will be for my credential provider, which is based on your sample.
from windows-classic-samples.
I uploaded the file as a .txt because .zip was not being accepted. rename the extension to .zip after downloading it. I am going to try to get you another crash dump from today when i can.
from windows-classic-samples.
@oldnewthing
Thank you so much for the insight! I was able to get an updated crash dump from my latest build on Friday. Would you mind taking a look and letting me know what is going on?
ReportQueue for Cred Provider.txt
from windows-classic-samples.
@oldnewthing
I did add a null check on _pCredential
and that seems to have resolved the crashing of the Credential Provider. Should the V2 Sample be updated with a null check too? The GetCredentialAt
method was not modified by me at all so I assume that anyone else using the sample will run into the same problem. The code in the Credential Initialize method would also need to change to handle a scenario where the provider was initialized but without an ICredentialProviderUser
.
What are your thoughts?
from windows-classic-samples.
I forwarded this issue to the sample owner. Thanks for reporting it.
from windows-classic-samples.
Thanks for the assistance! I really appreciate it!
from windows-classic-samples.
Related Issues (20)
- CloudMirror example: an empty state icon is crashing Windows Explorer.
- Failure in VSS pre and post restore is ignored HOT 1
- How can we change the Credential Provide spinner to custom text?
- BUG: DisplayCoreCustomCompositor tearing
- WASAPI Capture shared event driven mode in Windows server 2016 to Windows Vista HOT 1
- Building CloudMirror (sln) -- FAILED.
- SimpleDirect2DApplication fails to compile - identifier FILE_INFO_BY_HANDLE_CLASS is undefined HOT 2
- Delayed captured audio in Application Loopback sample HOT 1
- DXGI Cpature error
- Memory not freed from FwpmNetEventEnum
- CloudMirror Sample οΌthe sample provider app restart automatically
- AMSI PROVIDERS priority
- CloudMirror Sample:The callback handling for deletion was added to the official example CloudMirror,but sometimes the returned deletion path is different.Why?
- Windows 11: Notifications vanishes after few seconds. HOT 3
- Opening Explorer Data Provider in Visual Studio 2022
- Implement the IShellIconOverlayIdentifier interface, but it doesn't work for cloud folders created by CloudMirror? HOT 1
- Running DropTargetVerb.exe built with vs2022 on windows 11, nothing happens!
- DesktopToast--After the App exits and clicks the Toast message, local files cannot be loaded after the App is started. HOT 1
- ApplicationLoopback sample: suggested usage of GetMixFormat not working (only on Windows 10?)
- Cloud mirror - Cloud Files API - explorer.exe locking folders and prevents rename of directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-classic-samples.