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

[audio/simpleaudiosample] Blue Screen of Death after installing SimpleAudioSample #1100

Open
maruf-rahad opened this issue Feb 5, 2024 · 2 comments
Assignees

Comments

@maruf-rahad
Copy link

I recently attempted to install the driver SimpleAudioSample.inf by devcon obtained from repository on windows 11.

After completion of the installation process, my system encountered a crash and leading to an automatic restart with Blue Screen of Death. I cannot figure it out the reason I am facing this as I am new to kernel mode driver development. I am attaching the picture of it for better understanding.

Please suggest me a way of avoiding this or the root cause of it for further analysis. Thanks.

bsod1

@maruf-rahad
Copy link
Author

I have figured it out. It's happening only for debug build version.
In debug version the driver will print all logs including error logs which will call INT3 (Interrupt 3 - trap to debugger).
This will create BSOD(Blue Screen of Death)
If you use the release build version then you may not face this problem.
Thanks

@N00ree
Copy link

N00ree commented Apr 14, 2024

+1 Thanks for providing the solution to this. (Also a newbie learning this ^^)

Besides the fact that the debug version didn't work, I somehow destroyed my VM and couldn't install any drivers anymore. I also used "devcon remove" to remove all the device but this didn't help. God bless that I had a snapshot of my VM (Win 11 on Hyper-V). After reverting and starting over it all worked.

@NeoAdonis NeoAdonis changed the title PC got Blue Screen of Death after installing SimpleAudioSample [audio/simpleaudiosample] Blue Screen of Death after installing SimpleAudioSample Apr 24, 2024
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

No branches or pull requests

3 participants