Coder Social home page Coder Social logo

Comments (8)

oldnewthing avatar oldnewthing commented on May 21, 2024 1

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.

oldnewthing avatar oldnewthing commented on May 21, 2024

Can you include a stack trace, or attach the files referenced in the event log?

from windows-classic-samples.

aabragan avatar aabragan commented on May 21, 2024

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.

aabragan avatar aabragan commented on May 21, 2024

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.

AppCrash.txt

from windows-classic-samples.

aabragan avatar aabragan commented on May 21, 2024

@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.

aabragan avatar aabragan commented on May 21, 2024

@oldnewthing
I did add a null check on _pCredentialand that seems to have resolved the crashing of the Credential Provider. Should the V2 Sample be updated with a null check too? The GetCredentialAtmethod 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.

oldnewthing avatar oldnewthing commented on May 21, 2024

I forwarded this issue to the sample owner. Thanks for reporting it.

from windows-classic-samples.

aabragan avatar aabragan commented on May 21, 2024

@oldnewthing

Thanks for the assistance! I really appreciate it!

from windows-classic-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.