Click here to Skip to main content
15,915,093 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
DaveAuld22-Aug-19 19:56
professionalDaveAuld22-Aug-19 19:56 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Jörgen Andersson20-Aug-19 20:46
professionalJörgen Andersson20-Aug-19 20:46 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
dandy7221-Aug-19 3:22
dandy7221-Aug-19 3:22 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Jörgen Andersson21-Aug-19 3:29
professionalJörgen Andersson21-Aug-19 3:29 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
dandy7221-Aug-19 4:02
dandy7221-Aug-19 4:02 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Jörgen Andersson21-Aug-19 4:16
professionalJörgen Andersson21-Aug-19 4:16 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Rajesh R Subramanian20-Aug-19 21:39
professionalRajesh R Subramanian20-Aug-19 21:39 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Munchies_Matt20-Aug-19 21:59
Munchies_Matt20-Aug-19 21:59 
It is a driver, however about 30% of BSODs are due to Microsoft code failing.

Microsoft did tighten up the rules post XP, with mandatory driver signing, which requires qualification, however they relaxed this for windows 10 allowing 'attestation signing' which means the faulty driver can be identified and the company named and shamed.


So, you want to analyse a BSOD? You open in in Windbg, you load Microsoft public symbols with the symSrv command (look in help)?

Good luck.

It is almost impossible. Why? It is very rarely a simple crash once a driver has got this far in its development cycle, and very often, the driver named as the culprit isnt.

Why?

Because driver x can overwrite an array, and hit driver y's memory. Driver y runs once every 3 hours. When it does it crashes and is blamed.

So, what can you do?

USe Verifier.

Turn on basic checking (pool, locking misc checks etc, ie not the low resource simulaiton ones) and then verifiy, one at a time, non microsoft drivers.

What Verifier does is pad each chunk of allocated memory with a check pattern, so if a driver over writes its memory, it can be caught.

It checks for accessing paged out data at elevated IRQL (such as timer expiry, or interrupt) and crashes the driver. (A page fault might not fault if the memory is still paged in. It will only get unpaged if resources get tight. Verifier will catch this bug immediately).

Because it is resource heavy, you can only verify one driver at a time.

Hopefully it will crash, and give you the correct culprit. You can then go slap that company round the head with the now very readable BSOD.
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
kalberts20-Aug-19 22:02
kalberts20-Aug-19 22:02 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
charlieg21-Aug-19 2:02
charlieg21-Aug-19 2:02 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
kalberts21-Aug-19 3:21
kalberts21-Aug-19 3:21 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
KarstenK20-Aug-19 22:04
mveKarstenK20-Aug-19 22:04 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Herman<T>.Instance20-Aug-19 22:50
Herman<T>.Instance20-Aug-19 22:50 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
charlieg21-Aug-19 1:35
charlieg21-Aug-19 1:35 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
dandy7221-Aug-19 3:41
dandy7221-Aug-19 3:41 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Richard MacCutchan20-Aug-19 23:13
mveRichard MacCutchan20-Aug-19 23:13 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Rajesh R Subramanian21-Aug-19 9:35
professionalRajesh R Subramanian21-Aug-19 9:35 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Richard MacCutchan21-Aug-19 21:00
mveRichard MacCutchan21-Aug-19 21:00 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
11917640 Member 21-Aug-19 0:11
11917640 Member 21-Aug-19 0:11 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
charlieg21-Aug-19 1:57
charlieg21-Aug-19 1:57 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
dandy7221-Aug-19 3:52
dandy7221-Aug-19 3:52 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Dave Kreskowiak21-Aug-19 2:38
mveDave Kreskowiak21-Aug-19 2:38 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
Jörgen Andersson21-Aug-19 7:09
professionalJörgen Andersson21-Aug-19 7:09 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
W Balboos, GHB21-Aug-19 3:29
W Balboos, GHB21-Aug-19 3:29 
GeneralRe: Anyone want to join me in the BSOD fight club? Pin
dandy7221-Aug-19 4:01
dandy7221-Aug-19 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.